NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/sLib/s_StateInterfaces.hpp>
The interface for state factories.
A state factory produces a state holder from a given state ID.
Definition at line 37 of file s_StateInterfaces.hpp.
Public Member Functions | |
virtual sStateIf_c * | build (sStateIDIf_c const &id)=0 |
Returns a new state with a given state ID. | |
virtual void | dispose (sStateIf_c *&id)=0 |
Clears out the pointer to a state. | |
|
inlinevirtual |
Definition at line 39 of file s_StateInterfaces.hpp.
|
pure virtual |
Returns a new state with a given state ID.
Implemented in sFStateFct_c< T >, and sFStateFct_c< dYesNoWindow_c >.
|
pure virtual |
Clears out the pointer to a state.
Implemented in sFStateFct_c< T >, and sFStateFct_c< dYesNoWindow_c >.