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 StateIDgetMainStateID () const
Public Member Functions inherited from StateMethod
 StateMethod (IStateFactory &factory, const StateID &state_id)
void executeStateMethod ()
void changeStateMethod (const StateID &state_id)
IStategetState () const
const StateIDgetNewStateID () const
const StateIDgetStateID () const
const StateIDgetOldStateID () const

Protected Attributes

StateIDHolder mMain
Protected Attributes inherited from StateMethod
IStateFactorymFactory
const StateIDmNewStateID
IStatemState
const StateIDmOldStateID

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