|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/sLib/s_StateMgr.hpp>
An implementation of sStateMgrIf_c.
| T | The parent class for this state manager. |
| Method | The state method handler to use. |
| Factory | The state factory to use. |
| Check | The state ID checker to use. |
Definition at line 31 of file s_StateMgr.hpp.
Public Member Functions | |
| 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. | |
Private Attributes | |
| Check | mCheck |
| Factory< T > | mFactory |
| Method | mMethod |
|
inline |
Definition at line 33 of file s_StateMgr.hpp.
|
inlinevirtual |
Initializes the current state.
Implements sStateMgrIf_c.
Definition at line 37 of file s_StateMgr.hpp.
|
inlinevirtual |
|
inlinevirtual |
Prepares the current state for termination.
Implements sStateMgrIf_c.
Definition at line 39 of file s_StateMgr.hpp.
|
inlinevirtual |
Transitions to a new state ID.
Implements sStateMgrIf_c.
Definition at line 41 of file s_StateMgr.hpp.
|
inlinevirtual |
Marks the current state to be executed again.
Implements sStateMgrIf_c.
Definition at line 43 of file s_StateMgr.hpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
private |
Definition at line 51 of file s_StateMgr.hpp.
|
private |
Definition at line 52 of file s_StateMgr.hpp.
|
private |
Definition at line 53 of file s_StateMgr.hpp.