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

Public Member Functions

 GridML (GameApi::Env &env, GameApi::EveryApi &ev, MainLoopItem *next, Bitmap< int > &map, float y, float pos_x, float pos_z, float x_vec_x, float x_vec_z, float z_vec_x, float z_vec_z, int start_x, int start_z, float frame_inc)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
virtual void Prepare ()
virtual void execute (MainLoopEnv &e)
virtual void handle_event (MainLoopEvent &e)
bool access (int x, int z)
virtual std::vector< int > shader_id ()
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

◆ GridML()

GridML::GridML ( GameApi::Env & env,
GameApi::EveryApi & ev,
MainLoopItem * next,
Bitmap< int > & map,
float y,
float pos_x,
float pos_z,
float x_vec_x,
float x_vec_z,
float z_vec_x,
float z_vec_z,
int start_x,
int start_z,
float frame_inc )
inline

Member Function Documentation

◆ access()

bool GridML::access ( int x,
int z )
inline
Here is the caller graph for this function:

◆ Collect()

void GridML::Collect ( CollectVisitor & vis)
inlinevirtual

Implements MainLoopItem.

◆ execute()

virtual void GridML::execute ( MainLoopEnv & e)
inlinevirtual

Implements MainLoopItem.

◆ handle_event()

virtual void GridML::handle_event ( MainLoopEvent & e)
inlinevirtual

Implements MainLoopItem.

◆ HeavyPrepare()

void GridML::HeavyPrepare ( )
inlinevirtual

Implements MainLoopItem.

◆ Prepare()

virtual void GridML::Prepare ( )
inlinevirtual

Implements MainLoopItem.

◆ shader_id()

virtual std::vector< int > GridML::shader_id ( )
inlinevirtual

Reimplemented from MainLoopItem.


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