The Joe Engine
Joe's engine programming playground
|
#include <Entity.h>
Public Member Functions | |
Entity ()=delete | |
Default constructor (deleted). More... | |
Entity (uint32_t id) | |
Constructor. More... | |
~Entity ()=default | |
Destructor (default). More... | |
uint32_t | GetId () const |
Get entity id. More... | |
The Entity class.
Conceptually, an entity is just an index. This is the crux of the data-oriented design of the entity-component system of the Joe Engine. There is no other information stored within an Entity.
|
delete |
Default constructor (deleted).
|
inline |
Constructor.
Requires an id.
|
default |
Destructor (default).
|
inline |
Get entity id.