|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/sLib/s_FStateMgr.hpp>
A wrapper for sStateMgr_c that uses sFStateFct_c and sStateIDChk_c.
| T | The class that this state belongs to. |
| Method | The method to use for the state manager. |
Definition at line 13 of file s_FStateMgr.hpp.
Public Member Functions | |
| sFStateMgr_c (T &owner, const sStateIDIf_c &initializeState) | |
Public Member Functions inherited from sStateMgr_c< T, Method, sFStateFct_c, sStateIDChk_c > | |
| sStateMgr_c (T &owner, const sStateIDIf_c &initialState) | |
| virtual void | initializeState () |
| Initializes the current state. | |
| virtual void | executeState () |
| Executes the current state. | |
| virtual void | finalizeState () |
| Prepares the current state for termination. | |
| virtual void | changeState (const sStateIDIf_c &newState) |
| Transitions to a new state ID. | |
| virtual void | refreshState () |
| Marks the current state to be executed again. | |
| virtual sStateIf_c * | getState () const |
| Gets the state holder. | |
| virtual const sStateIDIf_c * | getNewStateID () const |
| Gets the next state ID. | |
| virtual const sStateIDIf_c * | getStateID () const |
| Gets the current state ID. | |
| virtual const sStateIDIf_c * | getOldStateID () const |
| Gets the previous state ID. | |
|
inline |
Definition at line 15 of file s_FStateMgr.hpp.