13 Timer(
float inTimerLength);
void upadateTimer(float dt)
Updates the timer using the delta time.
Definition: Timer.cpp:12
Handles timer functions.
Definition: Timer.h:6
Timer(float inTimerLength)
Constructs the timer object.
Definition: Timer.cpp:3
void setTimerLength(float inTimerLength)
Changes the timer length.
Definition: Timer.cpp:40
bool finished
A boolean for if the timer has finished.
Definition: Timer.h:54
void resetTimerLength(float inTimerLength)
Change the timer length and reset the timer.
Definition: Timer.cpp:31
float timer
The current time in the timer.
Definition: Timer.h:50
float timerLength
The length of the timer.
Definition: Timer.h:52
void resetTimer()
Resets the timer to 0.
Definition: Timer.cpp:23
~Timer()
Destructs the timer object.
Definition: Timer.cpp:8
bool checkTimer()
Returns if the timer has finished or not.
Definition: Timer.cpp:46