Public Member Functions | Protected Member Functions

cyber::world::Object Class Reference

#include <Object.h>

Inheritance diagram for cyber::world::Object:
gl7::ingame::Entity cyber::world::BodyObject cyber::world::Camera cyber::world::BoxBodyObject cyber::world::PolyBodyObject cyber::world::SphereBodyObject cyber::world::blocks::Block cyber::world::blocks::FixedBlock cyber::world::blocks::MovableBlock

List of all members.

Public Member Functions

Worldget_world () const
const ObjectDescget_desc () const
ClassID get_class_id () const
unsigned get_id () const
bool is_volatile () const
bool is_phantom () const

Protected Member Functions

 Object (World *world, const ObjectDesc *desc)
virtual ~Object (void)

Detailed Description

The base object class.


Constructor & Destructor Documentation

cyber::world::Object::Object ( World world,
const ObjectDesc desc 
) [protected]

Explicit constructor.

cyber::world::Object::~Object ( void   )  [protected, virtual]

Destructor.


Member Function Documentation

ClassID cyber::world::Object::get_class_id (  )  const [inline]

Returns the ID of the class of this object.

const ObjectDesc* cyber::world::Object::get_desc (  )  const [inline]

Returns the description of this object.

unsigned cyber::world::Object::get_id (  )  const [inline]

Returns the ID of this object.

World* cyber::world::Object::get_world (  )  const [inline]

Returns the world object.

bool cyber::world::Object::is_phantom (  )  const [inline]

Returns the flag specifying whether this object is a phantom and should be ignored on any occurrence.

bool cyber::world::Object::is_volatile (  )  const [inline]

Returns the flag specifying whether this object has been created during "runtime" and can thus be destroyed when the world is reset.


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