
Public Types | |
| typedef Entities::Iterator | EntityIt |
| typedef std::pair< EntityIt, EntityIt > | EntityRange |
Public Member Functions | |
| void | add (Entity *entity) |
| void | addAnimateableToInit (Animateable *an) |
| void | clear () |
| void | clearTransient () |
| removes and destroys all entities that are not marked as persistent | |
| void | contents (Box &box, Array< Entity * > &contents) |
| template<class T> | |
| void | getAllDynamicEntitiesofType (Array< T * > &entities) |
| void | getAllModelEntities (Array< ModelEntity * > &modelEntities) |
| EntityRange | getEntities () |
| Entity * | getEntity (int id) |
| Entity * | getEntityByName (const std::string &name) |
| void | initAnimateables () |
| void | registerEntity (int id, std::string &name) |
| void | remove (Entity *entity) |
| SceneGraph () | |
| ~SceneGraph () | |
Protected Types | |
| typedef Array< Entity * > | Dynamics |
| typedef Array< Entity * > | Entities |
Protected Attributes | |
| Array< Animateable * > | animateablesToInit |
| Dynamics | dynamicEntities |
| Entities | entities |
| ID2EntityMap | idEntityMap |
| Name2EntityMap | nameEntityMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
removes and destroys all entities that are not marked as persistent
|
|
||||||||||||
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.3