15 #ifndef CORGI_ENTITY_H_
16 #define CORGI_ENTITY_H_
65 bool marked_for_deletion_;
71 #endif // CORGI_ENTITY_H_
void set_entity_id(EntityIdType entity_id)
Sets an entity's unique ID.
Definition: entity.h:61
uint16_t EntityIdType
A EntityIdType is a value used to uniquely represent an entity in various internal structures...
Definition: entity_common.h:77
EntityIdType entity_id() const
Returns the unique entity id that represents this entity. Should generally only be used by internal C...
Definition: entity.h:56
The basic Entity class for CORGI. It contains an array of index values, which are used by Components ...
Definition: entity.h:32
static const EntityIdType kInvalidEntityId
A sentinel value to represent an invalid entity.
Definition: entity_common.h:86
Entity()
Constructor for creating an Entity.
Definition: entity.h:35
bool marked_for_deletion() const
An accessor function to check if this Entity has been marked for deletion.
Definition: entity.h:42
void set_marked_for_deletion(bool marked_for_deletion)
A mutator function to set an Entity as marked for deletion.
Definition: entity.h:48