19 explicit Entity(std::size_t
id);
28 operator std::size_t()
const;
35 std::size_t
getID()
const;
Represents an entity in an Entity-Component-System (ECS) architecture.
Entity(std::size_t id)
Constructs an Entity with a given ID.
std::size_t getID() const
Retrieves the ID of the entity.