Nimbus  0.2
A game... with arrows... which should be clouds
 All Classes Functions Variables Enumerations Enumerator
Nimbus::GameEntity Class Reference

Public Member Functions

 GameEntity (GameEntityId id, GameEntityType type)
 
 GameEntity (GameEntityId id, GameEntity *other)
 
 ~GameEntity (void)
 
void configure (Ogre::ConfigFile::SettingsMultiMap *configurationSettings)
 
void startup (void)
 
bool addBehaviour (Behaviour *behaviour, std::string name)
 
void update (void)
 
void removeBehaviour (Behaviour *behaviour)
 
behaviourmap * getBehaviours (void)
 
GameEntityType getEntityType ()
 
int getEntityId ()
 

Constructor & Destructor Documentation

GameEntity::GameEntity ( GameEntityId  id,
GameEntityType  type 
)

Standard blank constructor.

GameEntity::GameEntity ( GameEntityId  id,
GameEntity other 
)

Prototype constructor.

Here is the call graph for this function:

GameEntity::~GameEntity ( void  )

Standard blank destructor.

Member Function Documentation

void GameEntity::configure ( Ogre::ConfigFile::SettingsMultiMap *  configurationSettings)

Configure the entity according to the general settings map.

This settings map is obtained from the general section in the Entity Type ini file. It contains all general information needed to construct the entity.

behaviourmap* Nimbus::GameEntity::getBehaviours ( void  )
inline

Return a reference to the behaviours used by this entity.

Here is the caller graph for this function:

int Nimbus::GameEntity::getEntityId ( )
inline

Gets the id of the entity.

Here is the caller graph for this function:

GameEntityType Nimbus::GameEntity::getEntityType ( )
inline

Return the entity type name.

Here is the caller graph for this function:


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