197 uint32_t m_lastTime = 0;
198 uint32_t m_timeWaited = 0;
199 bool m_paused =
false;
uint32_t getTimeLeft()
Get the amount of time left on the timer.
uint32_t getTimeSet()
Get the amount of time the timer was set to.
void resume()
resume the timer
void waitUntilDone()
wait until the timer is done
void set(uint32_t time)
Set the amount of time the timer should count down.
bool isPaused()
Get whether the timer is paused or not.
bool isDone()
Get whether the timer is done or not.
uint32_t getTimePassed()
Get the amount of time passed on the timer.
Timer(uint32_t time)
Construct a new Timer.
void pause()
pause the timer
void reset()
reset the timer