Trait TimeTrait
game_loop
pub trait TimeTrait: Copy { fn now() -> Self; fn sub(&self, other: &Self) -> f64; }
fn now() -> Self
fn sub(&self, other: &Self) -> f64