Atlas
A Convenient Entity Component System
|
Used to assign a unique ID and Bit to a System when added to the SystemManager. More...
#include <ComponentIdentifierManager.h>
Static Public Member Functions | |
static ComponentIdentifier & | getType (const std::type_index &index) |
Retrieves an identifier for a Component. More... | |
template<typename T > | |
static ComponentIdentifier & | getType () |
Retrieves an identifier for a Component. More... | |
template<typename T > | |
static std::bitset< BITSIZE > | getBits () |
Retrieves the Bit assigned to a Component. More... | |
template<typename T > | |
static unsigned int | getID () |
Retrieves the ID assigned to a Component. More... | |
Used to assign a unique ID and Bit to a System when added to the SystemManager.
|
inlinestatic |
Retrieves the Bit assigned to a Component.
Usage Example:
|
inlinestatic |
Retrieves the ID assigned to a Component.
Usage Example:
|
static |
Retrieves an identifier for a Component.
If an identifier has not been assigned to the Component, one is created and assigned.
Usage Example:
index | - type_index for the Component |
|
inlinestatic |