Function checked_tick

Source
fn checked_tick(
    data: &JoinData<'_>,
    timer: Duration,
    modifier: Option<f32>,
) -> Option<Duration>
Expand description

Checked Duration addition. Computes timer + dt, only applying the explicitly given modifier and returning None if overflow occurred.