|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 6 of file s_FStateVirtualID.hpp.
Public Types | |
| typedef void(T::* | stateFunc) () |
| Public Types inherited from sFStateID_c< T > | |
| typedef void(T::* | stateFunc) () |
Public Member Functions | |
| sFStateVirtualID_c (const sStateIDIf_c &superState, const char *name, stateFunc initialize, stateFunc execute, stateFunc finalize) | |
| virtual unsigned int | number () const |
| Returns the number of this state ID. | |
| const sFStateVirtualID_c< T > * | superID () const |
| unsigned int | numberBase () const |
| Public Member Functions inherited from sFStateID_c< T > | |
| sFStateID_c (const char *name, stateFunc initialize, stateFunc execute, stateFunc finalize) | |
| Constructs a new sFStateID_c instance. | |
| virtual bool | isSameName (const char *otherName) const |
| Returns true if the given name matches this state ID's name. | |
| virtual void | initializeState (T &owner) const |
| Calls the initialize method on the owner. | |
| virtual void | executeState (T &owner) const |
| Calls the execute method on the owner. | |
| virtual void | finalizeState (T &owner) const |
| Calls the finalize method on the owner. | |
| Public Member Functions inherited from sStateID_c | |
| sStateID_c (const char *name) | |
| virtual bool | isNull () const |
| Returns whether this is a null state. | |
| virtual bool | isEqual (const sStateIDIf_c &other) const |
| Returns whether both states have the same number. | |
| virtual int | operator== (const sStateIDIf_c &other) const |
| Overloaded equality operator, using isEqual(). | |
| virtual int | operator!= (const sStateIDIf_c &other) const |
| Overloaded inequality operator, using isEqual(). | |
| virtual const char * | name () const |
| Returns the name of this state ID. | |
Private Attributes | |
| const sStateIDIf_c & | mSuperState |
Additional Inherited Members | |
| Protected Attributes inherited from sStateID_c | |
| const char * | mpName |
| The name of this state ID. | |
| unsigned int | mNumber |
| The number of this state ID. | |
| Static Protected Attributes inherited from sStateID_c | |
| static NumberMemo_c | sm_numberMemo |
| Used to give each state a unique number. | |
| typedef void(T::* sFStateVirtualID_c< T >::stateFunc) () |
Definition at line 8 of file s_FStateVirtualID.hpp.
|
inline |
Definition at line 10 of file s_FStateVirtualID.hpp.
|
inlinevirtual |
Returns the number of this state ID.
Reimplemented from sStateID_c.
Definition at line 17 of file s_FStateVirtualID.hpp.
|
inline |
Definition at line 21 of file s_FStateVirtualID.hpp.
|
inline |
Definition at line 28 of file s_FStateVirtualID.hpp.
|
private |
Definition at line 33 of file s_FStateVirtualID.hpp.