New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
StateStateMethod Class Reference

#include <StateStateMethod.h>

Inherits StateMethod.

Public Member Functions

 StateStateMethod (IStateFactory &factory, const StateID &state_id)
void changeToSubStateMethod (const StateID &state_id)
bool isSubStateMethod () const
void returnStateMethod ()
void replaceStateMethod (const StateID &state_id)
const StateID * getMainStateID () const
Public Member Functions inherited from StateMethod
 StateMethod (IStateFactory &factory, const StateID &state_id)
void executeStateMethod ()
void changeStateMethod (const StateID &state_id)
IState * getState () const
const StateID * getNewStateID () const
const StateID * getStateID () const
const StateID * getOldStateID () const

Protected Attributes

StateIDHolder mMain
Protected Attributes inherited from StateMethod
IStateFactory & mFactory
const StateID * mNewStateID
IState * mState
const StateID * mOldStateID

Additional Inherited Members

Protected Member Functions inherited from StateMethod
void initializeStateLocalMethod_ ()
void executeStateLocalMethod_ ()
void finalizeStateLocalMethod_ ()
void changeStateLocalMethod_ ()

Constructor & Destructor Documentation

◆ StateStateMethod()

StateStateMethod::StateStateMethod ( IStateFactory & factory,
const StateID & state_id )
inline

Member Function Documentation

◆ changeToSubStateMethod()

void StateStateMethod::changeToSubStateMethod ( const StateID & state_id)

◆ isSubStateMethod()

bool StateStateMethod::isSubStateMethod ( ) const
inline

◆ returnStateMethod()

void StateStateMethod::returnStateMethod ( )
inline

◆ replaceStateMethod()

void StateStateMethod::replaceStateMethod ( const StateID & state_id)
inline

◆ getMainStateID()

const StateID * StateStateMethod::getMainStateID ( ) const
inline

Member Data Documentation

◆ mMain

StateIDHolder StateStateMethod::mMain
protected