Handles timer functions.
More...
#include <C_Timer.h>
Handles timer functions.
- Author
- Jamie Slowgrove
C_Timer::C_Timer |
( |
float |
timerLength | ) |
|
Constructs the timer object.
- Parameters
-
float | the length of the timer. |
Destructs the timer object.
bool C_Timer::checkTimer |
( |
| ) |
|
Returns if the timer has finished or not.
- Returns
- If the timer has finished.
void C_Timer::resetTimer |
( |
| ) |
|
void C_Timer::resetTimerLength |
( |
float |
timerLength | ) |
|
Change the timer length and reset the timer.
void C_Timer::setTimerLength |
( |
float |
timerLength | ) |
|
Changes the timer length.
void C_Timer::upadateTimer |
( |
float |
dt | ) |
|
Updates the timer using the delta time.
- Parameters
-
A boolean for if the timer has finished.
The current time in the timer.
float C_Timer::timerLength |
|
private |
The documentation for this class was generated from the following files: