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

Public Member Functions

 KeyMoveML2 (GameApi::Env &e, GameApi::EveryApi &ev, MainLoopItem *next, int key_forward, int key_backward, int key_rotate_minus, int key_rotate_plus, float speed, float rot_speed, float start_angle, float start_x, float end_x, float start_z, float end_z)
virtual std::vector< int > shader_id ()
void handle_event (MainLoopEvent &eve)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
void execute (MainLoopEnv &env)
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

◆ KeyMoveML2()

KeyMoveML2::KeyMoveML2 ( GameApi::Env & e,
GameApi::EveryApi & ev,
MainLoopItem * next,
int key_forward,
int key_backward,
int key_rotate_minus,
int key_rotate_plus,
float speed,
float rot_speed,
float start_angle,
float start_x,
float end_x,
float start_z,
float end_z )
inline

Member Function Documentation

◆ Collect()

void KeyMoveML2::Collect ( CollectVisitor & vis)
inlinevirtual

Implements MainLoopItem.

◆ execute()

void KeyMoveML2::execute ( MainLoopEnv & env)
inlinevirtual

Implements MainLoopItem.

◆ handle_event()

void KeyMoveML2::handle_event ( MainLoopEvent & eve)
inlinevirtual

Implements MainLoopItem.

◆ HeavyPrepare()

void KeyMoveML2::HeavyPrepare ( )
inlinevirtual

Implements MainLoopItem.

◆ Prepare()

void KeyMoveML2::Prepare ( )
inlinevirtual

Implements MainLoopItem.

◆ shader_id()

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

Reimplemented from MainLoopItem.


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