Public Member Functions | Protected Attributes

GObject Class Reference

#include <GObject.h>

Inheritance diagram for GObject:
GCamera GGraphicsObject GMathObject Bullet GBone GHud GHudElement GLightSource GMesh GModel GParticle GParticleEmitter GSkeleton GSkyBox GBoundingBox GBoundingSphere GMatrix16 GQuaternion GRGBAColor GVec4f

List of all members.

Public Member Functions

 GObject (void)
 indicates wheter object is active
 ~GObject (void)
 standard constructor
int queryProperty (char *, char **)
 standard destructor
int insertProperty (char *, char *)
 query the value of a certain property
int copyPropertyList (GObject *)
 insert a new property along with a corresponding value
int clearPropertyList (void)
 copy all properties and corresponding values to another instance of GObject
bool isEmpty (void)
 clear all properties and values
virtual bool isActive (void)
 check wheter propertylist is empty
virtual void setActive (bool)
 check wheter object is currently active
virtual int Update (double time, double dtime)
 set the objects active state

Protected Attributes

int miId
struct propertylist_tPropertyList
 internal id
bool mbActive
 list of generic properties and values

Constructor & Destructor Documentation

GObject::GObject ( void   ) 

indicates wheter object is active

GObject::~GObject ( void   ) 

standard constructor


Member Function Documentation

int GObject::clearPropertyList ( void   ) 

copy all properties and corresponding values to another instance of GObject

int GObject::copyPropertyList ( GObject o  ) 

insert a new property along with a corresponding value

int GObject::insertProperty ( char *  key,
char *  value 
)

query the value of a certain property

bool GObject::isActive ( void   )  [virtual]

check wheter propertylist is empty

bool GObject::isEmpty ( void   ) 

clear all properties and values

int GObject::queryProperty ( char *  key,
char **  value 
)

standard destructor

void GObject::setActive ( bool  b  )  [virtual]

check wheter object is currently active

Reimplemented in Portal, and SpawnPoint.

int GObject::Update ( double  time,
double  dtime 
) [virtual]

set the objects active state

Reimplemented in Creature, GCamera, GGraphicsObject, GHud, GModel, GParticle, GParticleEmitter, Player, and SpawnPoint.


Member Data Documentation

bool GObject::mbActive [protected]

list of generic properties and values

int GObject::miId [protected]

internal id


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