21 #ifndef GF_ENTITY_CONTAINER_H    22 #define GF_ENTITY_CONTAINER_H    24 #include <type_traits>    27 #include "Portability.h"    29 #include "RenderStates.h"    33 #ifndef DOXYGEN_SHOULD_SKIP_THIS    72     void update(
Time time);
   100     void addEntity(
Entity& entity);
   137       static_assert(std::is_base_of<Entity, E>::value, 
"E must be an Entity");
   138       return static_cast<E*
>(removeEntity(entity));
   144     std::vector<Ref<Entity>> m_entities;
   147 #ifndef DOXYGEN_SHOULD_SKIP_THIS   152 #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:74
A game entity. 
Definition: Entity.h:53
The namespace for gf classes. 
Definition: Action.h:35
E * removeTypedEntity(E *entity)
Remove a typed entity from the collection. 
Definition: EntityContainer.h:136
A collection of entities. 
Definition: EntityContainer.h:60