Used to distribute a unique bit identifier to each System created.
More...
#include <SystemBitManager.h>
Used to distribute a unique bit identifier to each System created.
static std::bitset<BITSIZE> Atlas::SystemBitManager::getBitsFor |
( |
const std::type_index & |
type | ) |
|
|
static |
Retrieves the bits for a System.
Usage Example:
- Parameters
-
- Returns
- A bitset containing the System bit
template<typename T >
static std::bitset<BITSIZE> Atlas::SystemBitManager::getBitsFor |
( |
const T * |
type | ) |
|
|
inlinestatic |
Retrieves the bits for a System.
Usage Example:
system.setSystemBits(Atlas::SystemBitManager::getBitsFor<HealthSystem>());
- Parameters
-
- Returns
- A bitset containing the System bit
The documentation for this class was generated from the following file:
- D:/Users/Andrew/PerforceWorkspace/Drew-DeskPC/Atlas/EntityComponentTest/include/SystemBitManager.h