OpenEnroth 73e68f7
|
#include <Timer.h>
Public Member Functions | |
Timer ()=default | |
void | tick () |
bool | isPaused () const |
void | setPaused (bool paused) |
bool | isTurnBased () const |
void | setTurnBased (bool turnBased) |
Duration | dt () const |
Duration | time () const |
Private Member Functions | |
Duration | platformTime () |
Additional Inherited Members | |
Private Attributes inherited from RawTimer | |
bool | _paused = false |
bool | _turnBased = false |
Duration | _lastFrameTime |
Duration | _dt |
Duration | _time |
|
default |
|
inline |
|
inline |
|
inline |
|
private |
void Timer::setPaused | ( | bool | paused | ) |
void Timer::setTurnBased | ( | bool | turnBased | ) |
void Timer::tick | ( | ) |
|
inline |