cEntityBase Class Reference

#include <entities.h>

Inheritance diagram for cEntityBase:

cElement cEntity

List of all members.

Public Member Functions

 cEntityBase (eEntity type, cWorld *world, IrrlichtDevice *device)
virtual ~cEntityBase ()
void setIndex (int i, int j)
int getIndexI ()
int getIndexJ ()
void setGroundLevel (f32 groundLevel)
f32 getGroundLevel ()
void setHeight (f32 height)
f32 getHeight ()
cEntityBasegetPreviousEntity ()
void setPreviousEntity (cEntityBase *entity)
cEntityBasegetNextEntity ()
void setNextEntity (cEntityBase *entity)
int getEnergy ()
eEntity getType ()
bool createEntity (eEntity entity)
virtual scene::ISceneNode * getNode ()=0

Protected Attributes

cWorldmWorld
IrrlichtDevice * mDevice
int mIndexI
int mIndexJ
f32 mGroundLevel
f32 mHeight
cEntityBasemPreviousEntity
cEntityBasemNextEntity
eEntity mType


Detailed Description

Definition at line 20 of file entities.h.


Constructor & Destructor Documentation

cEntityBase::cEntityBase ( eEntity  type,
cWorld world,
IrrlichtDevice *  device 
) [inline]

Definition at line 22 of file entities.h.

virtual cEntityBase::~cEntityBase (  )  [inline, virtual]

Definition at line 26 of file entities.h.


Member Function Documentation

bool cEntityBase::createEntity ( eEntity  entity  ) 

Definition at line 9 of file entities.cpp.

int cEntityBase::getEnergy (  ) 

Definition at line 95 of file entities.cpp.

f32 cEntityBase::getGroundLevel (  )  [inline]

Definition at line 37 of file entities.h.

f32 cEntityBase::getHeight (  )  [inline]

Definition at line 41 of file entities.h.

int cEntityBase::getIndexI (  )  [inline]

Definition at line 31 of file entities.h.

int cEntityBase::getIndexJ (  )  [inline]

Definition at line 33 of file entities.h.

cEntityBase* cEntityBase::getNextEntity (  )  [inline]

Definition at line 49 of file entities.h.

virtual scene::ISceneNode* cEntityBase::getNode (  )  [pure virtual]

Implemented in cEntity, and cElement.

cEntityBase* cEntityBase::getPreviousEntity (  )  [inline]

Definition at line 45 of file entities.h.

eEntity cEntityBase::getType (  )  [inline]

Definition at line 55 of file entities.h.

void cEntityBase::setGroundLevel ( f32  groundLevel  )  [inline]

Definition at line 35 of file entities.h.

void cEntityBase::setHeight ( f32  height  )  [inline]

Definition at line 39 of file entities.h.

void cEntityBase::setIndex ( int  i,
int  j 
) [inline]

Definition at line 29 of file entities.h.

void cEntityBase::setNextEntity ( cEntityBase entity  )  [inline]

Definition at line 51 of file entities.h.

void cEntityBase::setPreviousEntity ( cEntityBase entity  )  [inline]

Definition at line 47 of file entities.h.


Member Data Documentation

IrrlichtDevice* cEntityBase::mDevice [protected]

Definition at line 63 of file entities.h.

f32 cEntityBase::mGroundLevel [protected]

Definition at line 67 of file entities.h.

f32 cEntityBase::mHeight [protected]

Definition at line 68 of file entities.h.

int cEntityBase::mIndexI [protected]

Definition at line 65 of file entities.h.

int cEntityBase::mIndexJ [protected]

Definition at line 66 of file entities.h.

Definition at line 71 of file entities.h.

Definition at line 70 of file entities.h.

Definition at line 73 of file entities.h.

Definition at line 62 of file entities.h.


The documentation for this class was generated from the following files:

Generated on Thu Jul 30 07:18:41 2009 for Cerberus by  doxygen 1.5.9