|
Public Member Functions |
| | ZTimer (bool useZEngine=true) |
| | Constructs a new Timer.
|
| virtual | ~ZTimer () |
| | Virtual Destructor.
|
| void | Reset () |
| | Reset Timer.
|
| void | Pause () |
| | Pause Timer.
|
| void | Unpause () |
| | Unpause Timer.
|
| Uint32 | GetTime () const |
| | Get Time of Timer.
|
| bool | IsPaused () const |
| | Get paused state.
|
Protected Member Functions |
| Uint32 | GetParentTime () const |
| | Get time from parent timer.
|
Protected Attributes |
|
ZEngine * | rEngine |
| | Pointer to ZEngine Object.
|
|
bool | rPaused |
| | Paused / Unpaused state of Timer.
|
|
bool | rUseZEngine |
| | Using ZEngine timer or SDL global timer.
|
|
Uint32 | rPausedTime |
| | Total time this timer has been paused.
|
|
Uint32 | rLastPause |
| | Time this Timer was paused.
|