NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 13 of file s_StateStateMgr.hpp.
Public Member Functions | |
sStateStateMgr_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 bool | isSubState () const |
virtual void | returnState () |
virtual const sStateIDIf_c * | getOldStateID () const |
Gets the previous state ID. | |
virtual void | refreshState () |
Marks the current state to be executed again. | |
virtual void | changeToSubState (const sStateIDIf_c &newState) |
virtual void | changeState (const sStateIDIf_c &newState) |
Transitions to a new state ID. | |
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 * | getMainStateID () const |
Public Attributes | |
Manager< T, Method1 > | mainMgr |
Manager< T, Method2 > | subMgr |
sStateMgrIf_c * | currentMgr |
|
inline |
Definition at line 15 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Initializes the current state.
Implements sStateMgrIf_c.
Definition at line 20 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Executes the current state.
Implements sStateMgrIf_c.
Definition at line 21 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Prepares the current state for termination.
Implements sStateMgrIf_c.
Definition at line 22 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Implements sStateStateMgrIf_c.
Definition at line 30 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Implements sStateStateMgrIf_c.
Definition at line 32 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Gets the previous state ID.
Implements sStateMgrIf_c.
Definition at line 39 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Marks the current state to be executed again.
Implements sStateMgrIf_c.
Definition at line 41 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Implements sStateStateMgrIf_c.
Definition at line 43 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Transitions to a new state ID.
Implements sStateMgrIf_c.
Definition at line 48 of file s_StateStateMgr.hpp.
|
inlinevirtual |
|
inlinevirtual |
Gets the next state ID.
Implements sStateMgrIf_c.
Definition at line 50 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Gets the current state ID.
Implements sStateMgrIf_c.
Definition at line 51 of file s_StateStateMgr.hpp.
|
inlinevirtual |
Implements sStateStateMgrIf_c.
Definition at line 52 of file s_StateStateMgr.hpp.
Manager<T, Method1> sStateStateMgr_c< T, Manager, Method1, Method2 >::mainMgr |
Definition at line 54 of file s_StateStateMgr.hpp.
Manager<T, Method2> sStateStateMgr_c< T, Manager, Method1, Method2 >::subMgr |
Definition at line 55 of file s_StateStateMgr.hpp.
sStateMgrIf_c* sStateStateMgr_c< T, Manager, Method1, Method2 >::currentMgr |
Definition at line 56 of file s_StateStateMgr.hpp.