mode

Returns the mode of the timer.

Examples

# use bevy_time::*;
let mut timer = Timer::from_seconds(1.0, TimerMode::Repeating);
assert_eq!(timer.mode(), TimerMode::Repeating);

Arguments

  • _self : Timer - No Documentation 🚧

Returns

  • arg0 : TimerMode - No Documentation 🚧