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