24 #include "Portability.h"    28 #ifndef DOXYGEN_SHOULD_SKIP_THIS    63     : m_priority(priority)
    64     , m_liveness(Liveness::ALIVE)
    94       return m_liveness == Liveness::ALIVE;
   103       m_liveness = Liveness::ALIVE;
   113       m_liveness = Liveness::DEAD;
   128     virtual void update(
Time time);
   140     enum class Liveness : int {
   149 #ifndef DOXYGEN_SHOULD_SKIP_THIS   154 #endif // GF_ENTITY_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
 
Entity(int priority=0)
Contructor. 
Definition: Entity.h:62
 
A game entity. 
Definition: Entity.h:53
 
The namespace for gf classes. 
Definition: Action.h:34
 
void setAlive()
Set the entity alive (again) 
Definition: Entity.h:102
 
int getPriority() const
Get the priority of the entity. 
Definition: Entity.h:78
 
void kill()
Kill an entity. 
Definition: Entity.h:112
 
bool isAlive() const
Check if the entity is alive. 
Definition: Entity.h:93