Function ggez::timer::ticks

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

Gets the number of times the game has gone through its event loop.

Specifically, the number of times that TimeContext::tick() has been called by it.