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

#include <GameEntitySet.h>

Classes

class  GeneralEntityIterator
 

Public Types

typedef std::iterator
< std::input_iterator_tag,
GameEntity
entityiterator
 

Public Member Functions

void addGameEntity (GameEntity *entity)
 
void removeGameEntity (GameEntityId id)
 
GeneralEntityIterator beginGeneralIterator ()
 
GeneralEntityIterator endGeneralIterator ()
 
std::list< GameEntity * > getEntitiesOfType (std::string type)
 
std::list< GameEntity * > getEntitiesWithBehaviour (std::string behaviour)
 
GameEntitygetEntity (int id)
 

Detailed Description

The GameEntitySet is a class for holding all the entities in the game world. Its main benefit and purpose is to provide custom iterators over entities so that users can select specific relevant sets of entities based on their component behaviours.


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