Nimbus
0.2
A game... with arrows... which should be clouds
|
#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) |
GameEntity * | getEntity (int id) |
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.