![]() |
Raven Engine v0.1
|
Manages registration and storage of components for entities in ECS. More...
#include "Raven/ECS/Component.h"#include "Raven/Core/MemoryTracker.h"#include "Raven/Core/UUIDGenerator.h"#include <unordered_map>#include <vector>#include <algorithm>#include <ranges>Classes | |
| class | Raven::Registry |
| Central manager for component registration and entity-component mapping. More... | |
Namespaces | |
| namespace | Raven |
Typedefs | |
| using | Raven::ComponentID = UUID |
Manages registration and storage of components for entities in ECS.
The Registry class provides an interface to register component types, add or remove components on entities, and query entities by their components. It maintains internal storage for each component type and tracks which components are attached to each entity. Unregistering cleans up storage, and the registry supports querying single or multiple component sets for entities.