![]() |
ImagoEngine
A C++ 2D game engine built on a sparse-set ECS, with scenes, scheduled systems, events, and action-based input
|
Defines the Nexus, the brain of the ECS world. More...
#include <cstdint>#include <unordered_map>#include <array>#include <memory>#include <utility>#include <cassert>#include <cstdlib>#include <vector>#include "Imago/ECS/Entity.hpp"#include "Imago/ECS/EntityManager.hpp"#include "Imago/ECS/SparseSet.hpp"#include "Imago/ECS/SparseSetBase.hpp"#include "Imago/ECS/SurveyHandle.hpp"#include "Imago/ECS/CommandBuffer.hpp"#include "Imago/ECS/Bond.hpp"#include "Imago/ECS/BondHandle.hpp"

Go to the source code of this file.
Classes | |
| class | Imago::ECS::Nexus |
| the Nexus is the brain of the ECS world. It is the object the user will use to interact with everything ECS related within systems. More... | |
Typedefs | |
| using | Imago::ECS::ComponentTypeId = uint32_t |
| alias for component ids for pool storage | |
Functions | |
| template<typename T> | |
| ComponentTypeId | Imago::ECS::get_component_type_id () |
| returns the ComponenTypeId for component of type T. | |
Defines the Nexus, the brain of the ECS world.
| ComponentTypeId Imago::ECS::get_component_type_id | ( | ) |
returns the ComponenTypeId for component of type T.
The id is assigned the first time this is called for a given component of type T. Sice the id is static the id is the same for every following call with that component type.
| The | component type. |