Trait oxygengine_core::app::AppTimer
source · [−]pub trait AppTimer: Send + Sync {
fn tick(&mut self);
fn time(&self) -> Duration;
fn time_seconds(&self) -> Scalar;
fn delta_time(&self) -> Duration;
fn delta_time_seconds(&self) -> Scalar;
fn ticks(&self) -> usize;
}
Required Methods
source
fn time_seconds(&self) -> Scalar
source
fn delta_time(&self) -> Duration
source