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

Public Member Functions

 RotateCmds (CmdExecute *cmds, float v_x, float v_y, float v_z, float angle, float delta_angle)
Point pos () const
int obj_type () const
void set_hooks (std::function< void(char)> f)
void Execute (char c)
virtual void set_units (Vector v_x, Vector v_y, Vector v_z)
virtual Vector get_unit_x () const
virtual Vector get_unit_y () const
virtual Vector get_unit_z () const
void setup_angle ()
void undo_changes ()
void do_changes (float newangle)
Public Member Functions inherited from CmdExecute
virtual ~CmdExecute ()

Constructor & Destructor Documentation

◆ RotateCmds()

RotateCmds::RotateCmds ( CmdExecute * cmds,
float v_x,
float v_y,
float v_z,
float angle,
float delta_angle )
inline

Member Function Documentation

◆ do_changes()

void RotateCmds::do_changes ( float newangle)
inline
Here is the caller graph for this function:

◆ Execute()

void RotateCmds::Execute ( char c)
inlinevirtual

Implements CmdExecute.

◆ get_unit_x()

virtual Vector RotateCmds::get_unit_x ( ) const
inlinevirtual

Implements CmdExecute.

◆ get_unit_y()

virtual Vector RotateCmds::get_unit_y ( ) const
inlinevirtual

Implements CmdExecute.

◆ get_unit_z()

virtual Vector RotateCmds::get_unit_z ( ) const
inlinevirtual

Implements CmdExecute.

◆ obj_type()

int RotateCmds::obj_type ( ) const
inlinevirtual

Implements CmdExecute.

◆ pos()

Point RotateCmds::pos ( ) const
inlinevirtual

Implements CmdExecute.

◆ set_hooks()

void RotateCmds::set_hooks ( std::function< void(char)> f)
inlinevirtual

Implements CmdExecute.

◆ set_units()

virtual void RotateCmds::set_units ( Vector v_x,
Vector v_y,
Vector v_z )
inlinevirtual

Implements CmdExecute.

◆ setup_angle()

void RotateCmds::setup_angle ( )
inline
Here is the caller graph for this function:

◆ undo_changes()

void RotateCmds::undo_changes ( )
inline
Here is the caller graph for this function:

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