61 uint32_t mPausedTicks;
This class abstracts multiple timing related mechanism in the game.
Definition: LTimer.h:10
bool isStarted()
Method to check if the timer is started.
Definition: LTimer.cpp:95
void unpause()
Method to unpause the timer.
Definition: LTimer.cpp:55
void start()
Method to start the timer.
Definition: LTimer.cpp:15
uint32_t getSDLTicks()
Method to get the current SDL ticks.
Definition: LTimer.cpp:107
void pause()
Method to pause the timer.
Definition: LTimer.cpp:41
uint32_t getTicks()
Method to get the current ticks.
Definition: LTimer.cpp:71
LTimer()
The constructor of the class.
Definition: LTimer.cpp:5
bool isPaused()
Method to check if the timer is paused.
Definition: LTimer.cpp:101
void stop()
Method to stop the timer.
Definition: LTimer.cpp:28