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 14 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 |
Additional Inherited Members | |
Private Member Functions inherited from sStateMgrIf_c |
|
inline |
Definition at line 16 of file s_StateMgr.hpp.
|
inlinevirtual |
Initializes the current state.
Implements sStateMgrIf_c.
Definition at line 20 of file s_StateMgr.hpp.
|
inlinevirtual |
|
inlinevirtual |
Prepares the current state for termination.
Implements sStateMgrIf_c.
Definition at line 22 of file s_StateMgr.hpp.
|
inlinevirtual |
Transitions to a new state ID.
Implements sStateMgrIf_c.
Definition at line 24 of file s_StateMgr.hpp.
|
inlinevirtual |
Marks the current state to be executed again.
Implements sStateMgrIf_c.
Definition at line 26 of file s_StateMgr.hpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
private |
Definition at line 34 of file s_StateMgr.hpp.
|
private |
Definition at line 35 of file s_StateMgr.hpp.
|
private |
Definition at line 36 of file s_StateMgr.hpp.