Nebula
|
#include <timemanager.h>
An object that keeps track of running time and frame time (delta time).
Each time source tracks its own time independently from the other time sources, they can also be paused and unpaused independentlty from each other, and they may also run faster or slower then realtime.
new
. Instead, use Game::Time::CreateTimeSource.Public Attributes | |
Timing::Time const | frameTime |
delta time between this frame and last frame | |
Timing::Time const | time |
total time this timesource has run for | |
Timing::Tick const | ticks |
number of ticks that this time source has run for | |
int | pauseCounter |
increment this to pause time, decrement to continue running | |
float | timeFactor |
time factor for this time source | |
Timing::Time const Game::TimeSource::frameTime |
delta time between this frame and last frame
int Game::TimeSource::pauseCounter |
increment this to pause time, decrement to continue running
Timing::Tick const Game::TimeSource::ticks |
number of ticks that this time source has run for
Timing::Time const Game::TimeSource::time |
total time this timesource has run for
float Game::TimeSource::timeFactor |
time factor for this time source