#include <Object.h>
Public Member Functions | |
| World * | get_world () const |
| const ObjectDesc * | get_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) |
The base object class.
| cyber::world::Object::Object | ( | World * | world, | |
| const ObjectDesc * | desc | |||
| ) | [protected] |
Explicit constructor.
| cyber::world::Object::~Object | ( | void | ) | [protected, virtual] |
Destructor.
| 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.
1.7.1