xoreos
0.0.5
|
#include <action.h>
Public Member Functions | |
Action (ActionType type) | |
Action (const Action &action) | |
void | setPoint (float x, float y, float z) |
void | setObject (Object *o) |
void | setRange (float range) |
ActionType | getType () const |
void | getPoint (float &x, float &y, float &z) const |
Object * | getObject () const |
float | getRange () const |
Private Attributes | |
ActionType | _type |
float | _point [3] |
Object * | _object |
float | _range |
Engines::KotOR::Action::Action | ( | ActionType | type | ) |
Definition at line 31 of file action.cpp.
References _point.
Engines::KotOR::Action::Action | ( | const Action & | action | ) |
Definition at line 35 of file action.cpp.
Object * Engines::KotOR::Action::getObject | ( | ) | const |
Definition at line 68 of file action.cpp.
References _object.
void Engines::KotOR::Action::getPoint | ( | float & | x, |
float & | y, | ||
float & | z | ||
) | const |
Definition at line 62 of file action.cpp.
References _point.
Referenced by Engines::KotOR::ActionExecutor::executeMoveToPoint().
float Engines::KotOR::Action::getRange | ( | ) | const |
Definition at line 72 of file action.cpp.
References _range.
Referenced by Engines::KotOR::ActionExecutor::executeMoveToPoint().
ActionType Engines::KotOR::Action::getType | ( | ) | const |
Definition at line 58 of file action.cpp.
References _type.
Referenced by Engines::KotOR::ActionExecutor::executeActions().
void Engines::KotOR::Action::setObject | ( | Object * | o | ) |
Definition at line 50 of file action.cpp.
References _object.
void Engines::KotOR::Action::setPoint | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 44 of file action.cpp.
References _point.
Referenced by Engines::KotOR::Functions::actionMoveToObject().
void Engines::KotOR::Action::setRange | ( | float | range | ) |
Definition at line 54 of file action.cpp.
References _range.
Referenced by Engines::KotOR::Functions::actionMoveToObject().
|
private |
Definition at line 53 of file action.h.
Referenced by Action(), getObject(), and setObject().
|
private |
Definition at line 52 of file action.h.
Referenced by Action(), getPoint(), and setPoint().
|
private |
Definition at line 54 of file action.h.
Referenced by Action(), getRange(), and setRange().
|
private |