pub fn fixed_update(&mut self, data: StateData<T>) {
        let StateData { world, data } = data;
        if self.running {
            let trans = match self.state_stack.last_mut() {
                Some(state) => state.fixed_update(StateData { world, data }),
                None => Trans::None,
            };

            self.transition(trans, StateData { world, data });
        }
    }
/// Updates the currently active state at a steady, fixed interval.
Updates the currently active state at a steady, fixed interval.
Updates the currently active state at a steady fixed interval .
pub fn fixed_update(&mut self, data: StateData<T>) {
        let StateData { world, data } = data;
        if self.running {
            let trans = match self.state_stack.last_mut() {
                Some(state) => state.fixed_update(StateData { world, data }),
                None => Trans::None,
            };
            self.transition(trans, StateData { world, data });
        }
    }
pub fn fixed_update ( & mut self , data : StateData < T > ) { let StateData { world , data } = data ; if self . running { let trans = match self . state_stack . last_mut ( ) { Some ( state ) => state . fixed_update ( StateData { world , data } ) , None => Trans :: None , } ; self . transition ( trans , StateData { world , data } ) ; } }
Updates the currently active state at a steady, fixed interval.
Updates the currently active state at a steady fixed interval .
&mut self
data
StateData<T>
&mut self
data
StateData<T>