|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/sLib/s_FStateFct.hpp>
A state factory for a given class.
| T | The class that this state belongs to. |
Definition at line 10 of file s_FStateFct.hpp.
Public Member Functions | |
| sFStateFct_c (T &owner) | |
| virtual sStateIf_c * | build (const sStateIDIf_c &id) |
| Returns a new state with a given state ID. | |
| virtual void | dispose (sStateIf_c *&id) |
| Clears out the pointer to a state. | |
Private Attributes | |
| sFState_c< T > | mState |
|
inline |
Definition at line 12 of file s_FStateFct.hpp.
|
inlinevirtual |
Returns a new state with a given state ID.
Implements sStateFctIf_c.
Definition at line 14 of file s_FStateFct.hpp.
|
inlinevirtual |
Clears out the pointer to a state.
Implements sStateFctIf_c.
Definition at line 22 of file s_FStateFct.hpp.
|
private |
Definition at line 25 of file s_FStateFct.hpp.