i6engine
1.0
|
handles IDs for GameObjects More...
#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/manager/IDManager.h>
Public Member Functions | |
IDManager () | |
default contructor starts id's from a random value More... | |
void | setBounds (const int64_t from, const int64_t to) |
sets start-ID and end-ID More... | |
int64_t | getID () |
get next ID More... | |
int64_t | getID (const uint32_t amount) |
get multiple IDs More... | |
handles IDs for GameObjects
Definition at line 38 of file IDManager.h.
i6e::api::IDManager::IDManager | ( | ) |
default contructor starts id's from a random value
int64_t i6e::api::IDManager::getID | ( | ) |
get next ID
int64_t i6e::api::IDManager::getID | ( | const uint32_t | amount | ) |
get multiple IDs
[in] | amount | amount of requested IDs |
void i6e::api::IDManager::setBounds | ( | const int64_t | from, |
const int64_t | to | ||
) |
sets start-ID and end-ID