8#ifndef URANUS_ENTITY_HPP
9#define URANUS_ENTITY_HPP
13namespace uranus::ecs {
33 inline operator std::size_t()
const {
return _id; };
39 inline operator std::size_t&() {
return _id; }
Entity class, used to identify entities.
Definition: Entity.hpp:20
size_t _id
Id of the entity.
Definition: Entity.hpp:47
Entity(size_t id)
Constructor of the Entity class.
Definition: Entity.hpp:45
~Entity()=default
Default destructor.
Registry class, used to store and manage entities and their components.
Definition: Registry.hpp:24