10 for (uint32_t index = 0u; index < amountOfTickables; index++)
18 if (!tickable)
return std::numeric_limits<uint32_t>::max();
19 if (
tickIds.empty())
throw std::runtime_error(
"Exceeded available tick ids");
21 const uint32_t tickId =
tickIds.top();
This is the interface which is used to call a tick function on an object. Everything which should be ...
std::stack< uint32_t > tickIds
void removeTickable(uint32_t tickId)
uint32_t addTickable(ITickable *tickable)
std::map< uint32_t, ITickable * > allTickables
void tick(double deltaTime)
Log category system implementation.