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

Public Member Functions

 TreeMainLoop (GameApi::Env &e, GameApi::EveryApi &ev, TreeStack *t, std::vector< MainLoopItem * > vec)
std::vector< int > shader_id ()
void execute_one (MainLoopEnv &env, Matrix m, int level)
void execute_recurse (MainLoopEnv &e, Matrix mm, int current_level)
void handle_event (MainLoopEvent &e)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
void execute (MainLoopEnv &e)
Public Member Functions inherited from MainLoopItem
virtual ~MainLoopItem ()
virtual void logoexecute ()
virtual void FirstFrame ()
virtual bool ReadyToPrepare () const
virtual void destroy ()
virtual void set_vars (std::map< std::string, std::string > vars)
virtual std::map< std::string, std::string > get_vars () const
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const

Constructor & Destructor Documentation

◆ TreeMainLoop()

TreeMainLoop::TreeMainLoop ( GameApi::Env & e,
GameApi::EveryApi & ev,
TreeStack * t,
std::vector< MainLoopItem * > vec )
inline

Member Function Documentation

◆ Collect()

void TreeMainLoop::Collect ( CollectVisitor & vis)
inlinevirtual

Implements MainLoopItem.

◆ execute()

void TreeMainLoop::execute ( MainLoopEnv & e)
inlinevirtual

Implements MainLoopItem.

◆ execute_one()

void TreeMainLoop::execute_one ( MainLoopEnv & env,
Matrix m,
int level )
inline

◆ execute_recurse()

void TreeMainLoop::execute_recurse ( MainLoopEnv & e,
Matrix mm,
int current_level )
inline

◆ handle_event()

void TreeMainLoop::handle_event ( MainLoopEvent & e)
inlinevirtual

Implements MainLoopItem.

◆ HeavyPrepare()

void TreeMainLoop::HeavyPrepare ( )
inlinevirtual

Implements MainLoopItem.

◆ Prepare()

void TreeMainLoop::Prepare ( )
inlinevirtual

Implements MainLoopItem.

◆ shader_id()

std::vector< int > TreeMainLoop::shader_id ( )
inlinevirtual

Reimplemented from MainLoopItem.


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