Public Member Functions | Protected Attributes

cyber::editor::commands::creation::CreateBodyObjectDesc Class Reference

#include <CreateBodyObjectDesc.h>

Inheritance diagram for cyber::editor::commands::creation::CreateBodyObjectDesc:
cyber::editor::commands::creation::CreateObjectDesc cyber::editor::commands::Command cyber::editor::commands::creation::CreatePolyBodyObjectDesc cyber::editor::commands::creation::CreateSphereBodyObjectDesc cyber::editor::commands::creation::CreateFixedBlockDesc

List of all members.

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::Vector2get_position () const
float get_orientation () const

Protected Attributes

const ml7::Vector2 _position
const float _orientation

Detailed Description

The command class for creating body object descriptions.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

The angular orientation in world-space.

The linear position in world-space.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines