Skip to main content

Crate wgame_utils

Crate wgame_utils 

Source
Expand description

Utility types and functions for wgame.

Provides periodic timer for handling regular intervals.

Structsยง

PeriodicTimer
A timer that preserves its deadline phase when ticks are missed. Self::elapsed_periods and Self::wait_next return the duration of whole elapsed periods, not an integer count. Use elapsed time for animation and periodic timers for scheduled background work.