21 #ifndef GF_ENTITY_CONTAINER_H    22 #define GF_ENTITY_CONTAINER_H    24 #include <type_traits>    27 #include "Portability.h"    28 #include "RenderStates.h"    32 #ifndef DOXYGEN_SHOULD_SKIP_THIS    71     void update(
Time time);
    99     void addEntity(
Entity& entity);
   136       static_assert(std::is_base_of<Entity, E>::value, 
"E must be an Entity");
   137       return static_cast<E*
>(removeEntity(entity));
   143     std::vector<Entity *> m_entities;
   146 #ifndef DOXYGEN_SHOULD_SKIP_THIS   151 #endif // GF_ENTITY_CONTAINER_H Base class for all render targets (window, texture, ...) 
Definition: RenderTarget.h:66
 
Define the states used for drawing to a RenderTarget. 
Definition: RenderStates.h:82
 
Represents a time value. 
Definition: Time.h:73
 
A game entity. 
Definition: Entity.h:53
 
The namespace for gf classes. 
Definition: Action.h:34
 
E * removeTypedEntity(E *entity)
Remove a typed entity from the collection. 
Definition: EntityContainer.h:135
 
A collection of entities. 
Definition: EntityContainer.h:59