Function ggez::timer::delta

source · []
pub fn delta(ctx: &Context) -> Duration
👎Deprecated: Use ctx.time.delta instead
Expand description

Get the time between the start of the last frame and the current one; in other words, the length of the last frame.