33 Timer(
bool useRealTime =
false);
91 #endif // GK_TIMER_HPP_ void start()
Start the timer.
void setTime(u32 time)
Set time.
void stop()
Stop the timer.
void reset()
Reset the timer.
bool m_useRealTime
The timer will use system time instead of simulated time if set to true.
bool m_isStarted
Is true if the timer is running.
u32 time() const
Get time.
bool isStarted() const
Check if the timer is started.
Timer(bool useRealTime=false)
Constructor.