#include <CreateBodyObjectDesc.h>
Public Member Functions | |
| CreateBodyObjectDesc (unsigned cmd_number, const cl7::string_type &cmd_name, world::WorldDesc *world_desc, unsigned obj_id, const ml7::Vector2 &position, float orientation) | |
| virtual | ~CreateBodyObjectDesc (void) |
| const ml7::Vector2 & | get_position () const |
| float | get_orientation () const |
Protected Attributes | |
| const ml7::Vector2 | _position |
| const float | _orientation |
The command class for creating body object descriptions.
| cyber::editor::commands::creation::CreateBodyObjectDesc::CreateBodyObjectDesc | ( | unsigned | cmd_number, | |
| const cl7::string_type & | cmd_name, | |||
| world::WorldDesc * | world_desc, | |||
| unsigned | obj_id, | |||
| const ml7::Vector2 & | position, | |||
| float | orientation | |||
| ) |
Explicit constructor.
| cyber::editor::commands::creation::CreateBodyObjectDesc::~CreateBodyObjectDesc | ( | void | ) | [virtual] |
Destructor.
| float cyber::editor::commands::creation::CreateBodyObjectDesc::get_orientation | ( | ) | const [inline] |
Returns the angular orientation in world-space.
| const ml7::Vector2& cyber::editor::commands::creation::CreateBodyObjectDesc::get_position | ( | ) | const [inline] |
Returns the linear position in world-space.
const float cyber::editor::commands::creation::CreateBodyObjectDesc::_orientation [protected] |
The angular orientation in world-space.
The linear position in world-space.
1.7.1