asge::ecs::Entity
A lightweight, generational handle identifying an entity in the ECS.
#include <Entity.hpp>An Entity carries no data or behaviour of its own; it is just a key used to look up components in the sparse/dense arrays that back the ECS storage. Pairing the slot index with a generation counter lets a stale handle be detected and rejected once its slot has been recycled for a new entity, rather than silently aliasing onto unrelated data.
Public Attributes
#
EntityIndex m_Index#
EntityGeneration m_GenerationFriends
#
friend operator==