GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
StateMachineImpl Class Reference
Inheritance diagram for StateMachineImpl:
Collaboration diagram for StateMachineImpl:

Public Member Functions

 StateMachineImpl (GameApi::Env &e, std::string url, std::string homepage)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
virtual void event (MainLoopEvent &ee)
virtual void frame (MainLoopEnv &e)
virtual void draw_event (FrameLoopEvent &ee)
virtual void draw_frame (DrawLoopEnv &ee)
virtual int num_flags () const
virtual std::string flag (int val) const
void event (const ST_event &e)
void set_state (int new_state)
int find_type (int pos, std::string name)
int find_event (std::string name)
int find_state (std::string name)
Public Member Functions inherited from IStateMachine
virtual ~IStateMachine ()
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const
virtual void FirstFrame ()

Constructor & Destructor Documentation

◆ StateMachineImpl()

StateMachineImpl::StateMachineImpl ( GameApi::Env & e,
std::string url,
std::string homepage )
inline

Member Function Documentation

◆ Collect()

void StateMachineImpl::Collect ( CollectVisitor & vis)
inlinevirtual

Implements CollectInterface.

◆ draw_event()

virtual void StateMachineImpl::draw_event ( FrameLoopEvent & ee)
inlinevirtual

Implements IStateMachine.

◆ draw_frame()

virtual void StateMachineImpl::draw_frame ( DrawLoopEnv & ee)
inlinevirtual

Implements IStateMachine.

◆ event() [1/2]

void StateMachineImpl::event ( const ST_event & e)
inline

◆ event() [2/2]

virtual void StateMachineImpl::event ( MainLoopEvent & ee)
inlinevirtual

Implements IStateMachine.

Here is the caller graph for this function:

◆ find_event()

int StateMachineImpl::find_event ( std::string name)
inline

◆ find_state()

int StateMachineImpl::find_state ( std::string name)
inline
Here is the caller graph for this function:

◆ find_type()

int StateMachineImpl::find_type ( int pos,
std::string name )
inline
Here is the caller graph for this function:

◆ flag()

virtual std::string StateMachineImpl::flag ( int val) const
inlinevirtual

Implements IStateMachine.

◆ frame()

virtual void StateMachineImpl::frame ( MainLoopEnv & e)
inlinevirtual

Implements IStateMachine.

◆ HeavyPrepare()

void StateMachineImpl::HeavyPrepare ( )
inlinevirtual

Implements CollectInterface.

◆ num_flags()

virtual int StateMachineImpl::num_flags ( ) const
inlinevirtual

Implements IStateMachine.

◆ Prepare()

void StateMachineImpl::Prepare ( )
inlinevirtual

Implements IStateMachine.

Here is the caller graph for this function:

◆ set_state()

void StateMachineImpl::set_state ( int new_state)
inline
Here is the caller graph for this function:

The documentation for this class was generated from the following file: