|
GEJM
1.0.0.0
a 2D platformer made by students
|
#include <Timer.h>
Public Member Functions | |
| Timer () | |
| void | start () |
| void | stop () |
| void | pause () |
| void | unpause () |
| Uint32 | getTicks () |
| bool | isStarted () |
| bool | isPaused () |
Timer is a class that is basically a timer.
| Timer::Timer | ( | ) |
Initializes variables.
Timer implementation Initializes variables.
| Uint32 Timer::getTicks | ( | ) |
Gets the timer's time.
| bool Timer::isPaused | ( | ) |
Checks if the timer is paused.
| bool Timer::isStarted | ( | ) |
Checks if the timer is started.
| void Timer::pause | ( | ) |
Pause timer.
| void Timer::start | ( | ) |
Start timer.
| void Timer::stop | ( | ) |
Stop timer.
| void Timer::unpause | ( | ) |
Unpause timer.
1.8.11