Trait game_time::step::TimeStep
[−]
[src]
pub trait TimeStep { fn time_step(&self, wall_time: &FloatDuration) -> FloatDuration; }
Compute elapsed game time for a frame.
Required Methods
fn time_step(&self, wall_time: &FloatDuration) -> FloatDuration
Compute the time step for the next frame.
Implementors
impl TimeStep for VariableStep
impl<'a, C: ?Sized> TimeStep for FixedStep<'a, C> where
C: 'a + FrameCount,impl TimeStep for ConstantStep