neoGFX
Cross-platform C++ app/game engine
|
#include <entity.hpp>
Public Member Functions | |
entity (i_ecs &aEcs, entity_id aId) | |
entity (i_ecs &aEcs, const entity_archetype_id &aArchetypeId) | |
template<typename... ComponentData> | |
entity (i_ecs &aEcs, const entity_archetype_id &aArchetypeId, ComponentData &&... aComponentData) | |
~entity () | |
entity (const entity &aOther)=delete | |
entity & | operator= (const entity &aOther)=delete |
i_ecs & | ecs () const |
entity_id | id () const |
bool | detached_or_destroyed () const |
entity_id | detach () |
Definition at line 44 of file entity.hpp.
neolib::ecs::entity::entity | ( | i_ecs & | aEcs, |
const entity_archetype_id & | aArchetypeId | ||
) |
|
inline |
Definition at line 50 of file entity.hpp.
neolib::ecs::entity::~entity | ( | ) |
entity_id neolib::ecs::entity::detach | ( | ) |
bool neolib::ecs::entity::detached_or_destroyed | ( | ) | const |
i_ecs & neolib::ecs::entity::ecs | ( | ) | const |
entity_id neolib::ecs::entity::id | ( | ) | const |