The Joe Engine
Joe's engine programming playground
JoeEngine::Entity Class Reference

The Entity class. More...

#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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Entity() [1/2]

JoeEngine::Entity::Entity ( )
delete

Default constructor (deleted).

◆ Entity() [2/2]

JoeEngine::Entity::Entity ( uint32_t  id)
inline

Constructor.

Requires an id.

◆ ~Entity()

JoeEngine::Entity::~Entity ( )
default

Destructor (default).

Member Function Documentation

◆ GetId()

uint32_t JoeEngine::Entity::GetId ( ) const
inline

Get entity id.


The documentation for this class was generated from the following file: