8#ifndef URANUS_ENTITY_HPP
9#define URANUS_ENTITY_HPP
34 inline operator std::size_t()
const {
return _id; };
40 inline operator std::size_t&() {
return _id; }
This file is used to include some core files of the engine.
Entity class, used to identify entities.
Definition: Entity.hpp:21
size_t _id
Id of the entity.
Definition: Entity.hpp:48
Entity(size_t id)
Constructor of the Entity class.
Definition: Entity.hpp:46
~Entity()=default
Default destructor.
Registry class, used to store and manage entities and their components.
Definition: Registry.hpp:26
Namespace containing all the ECS related classes.
Definition: Components.hpp:21