co_ecs 0.9.0
Cobalt ECS
Loading...
Searching...
No Matches
entity.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <atomic>
4#include <cstdint>
5#include <numeric>
6#include <vector>
7
9
10namespace co_ecs {
11
13using entity = detail::handle<struct entity_tag_t>;
14
16using entity_pool = detail::handle_pool<entity>;
17
18} // namespace co_ecs
Definition archetype.hpp:11
detail::handle_pool< entity > entity_pool
Pool of entities that generates and recycles entity IDs.
Definition entity.hpp:16
detail::handle< struct entity_tag_t > entity
Represents an entity, consisting of an ID and generation.
Definition entity.hpp:13