R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
IComponent.hpp File Reference
#include <atomic>
#include <cstddef>
Include dependency graph for IComponent.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ecs::IComponent
 Base interface for all ECS components. More...
 

Namespaces

namespace  ecs
 Maximum number of distinct component types supported by the Registry.
 

Typedefs

using ecs::ComponentType = std::size_t
 Type alias for component identification.
 

Functions

ComponentType ecs::getUniqueComponentType ()
 Generates a unique ID for each component type.
 
template<typename T >
ComponentType ecs::getComponentType ()
 Get the unique type ID for a specific component type.