Expand description
Utility types and functions for wgame.
Provides periodic timer for handling regular intervals.
Structsยง
- Periodic
Timer - A timer that preserves its deadline phase when ticks are missed.
Self::elapsed_periodsandSelf::wait_nextreturn the duration of whole elapsed periods, not an integer count. Use elapsed time for animation and periodic timers for scheduled background work.