pub(crate) fn new(total_duration: f32, timer_type: TimerType) -> Self {
            Self {
                timer_type,
                running: true,
                current_duration: 0.0,
                total_duration,
                dirty: false,
                current_elapsed_cycles: 0,
            }
        }
/// Creates a new timer, only to be used internally.
Creates a new timer, only to be used internally.
Creates a new timer only to be used internally .
pub(crate) fn new(total_duration: f32, timer_type: TimerType) -> Self {
            Self {
                timer_type,
                running: true,
                current_duration: 0.0,
                total_duration,
                dirty: false,
                current_elapsed_cycles: 0,
            }
        }
pub ( crate ) fn new ( total_duration : f32 , timer_type : TimerType ) -> Self { Self { timer_type , running : true , current_duration : 0.0 , total_duration , dirty : false , current_elapsed_cycles : 0 , } }
Creates a new timer, only to be used internally.
Creates a new timer only to be used internally .
total_duration
f32
timer_type
TimerType
total_duration
f32
timer_type
TimerType