NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
sFStateStateMgr_c< T, Method1, Method2 > Class Template Reference
Inheritance diagram for sFStateStateMgr_c< T, Method1, Method2 >:
[legend]

Description

template<class T, class Method1, class Method2>
class sFStateStateMgr_c< T, Method1, Method2 >

Definition at line 11 of file s_FStateStateMgr.hpp.

Public Member Functions

 sFStateStateMgr_c (T &owner, const sStateIDIf_c &initializeState)
 
- Public Member Functions inherited from sStateStateMgr_c< T, sFStateMgr_c, Method1, Method2 >
 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_cgetOldStateID () 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_cgetState () const
 Gets the state holder.
 
virtual const sStateIDIf_cgetNewStateID () const
 Gets the next state ID.
 
virtual const sStateIDIf_cgetStateID () const
 Gets the current state ID.
 
virtual const sStateIDIf_cgetMainStateID () const
 

Additional Inherited Members

- Public Attributes inherited from sStateStateMgr_c< T, sFStateMgr_c, Method1, Method2 >
sFStateMgr_c< T, Method1mainMgr
 
sFStateMgr_c< T, Method2subMgr
 
sStateMgrIf_ccurrentMgr
 

Constructor & Destructor Documentation

◆ sFStateStateMgr_c()

template<class T, class Method1, class Method2>
sFStateStateMgr_c< T, Method1, Method2 >::sFStateStateMgr_c ( T & owner,
const sStateIDIf_c & initializeState )
inline

Definition at line 13 of file s_FStateStateMgr.hpp.