pub fn state(&self, timer: &Timer) -> State {
        let mut state = Default::default();
        self.update_state(&mut state, timer);
        state
    }
/// Calculates the component's state.
Calculates the component's state.
Calculates the component ' s state .
pub fn state(&self, timer: &Timer) -> State {
        let mut state = Default::default();
        self.update_state(&mut state, timer);
        state
    }
pub fn state ( & self , timer : & Timer ) -> State { let mut state = Default :: default ( ) ; self . update_state ( & mut state , timer ) ; state }
Calculates the component's state.
Calculates the component ' s state .
&self
timer
&Timer
&self
timer
&Timer