2#include <game/sLib/s_StateInterfaces.hpp>
3#include <game/sLib/s_FStateID.hpp>
23 if (action == FINALIZE) {
25 }
else if (action == EXECUTE) {
27 }
else if (action == INITIALIZE) {
An implementation of a state ID for a given class.
A state holder for a given class.
virtual void finalize()
Prepares the state for termination.
void performAction(STATE_ACTION_e action)
Performs a state action.
const sFStateID_c< T > * mpID
The state ID that runs the state methods.
virtual void execute()
Executes the state.
T & mpOwner
The owner of this state.
virtual void initialize()
Initializes the state.
The interface for a state holder.