#include <Timer.h>
Public Member Functions | |
| Timer (int startSeconds, const std::string &fontPath) | |
| void | updateTimerText () |
| void | update () |
| void | update (int instantTimeLost) |
| void | draw (sf::RenderWindow &window) |
| Timer::Timer | ( | int | startSeconds, |
| const std::string & | fontPath ) |
Load the font
Set the text on the Screen
| void Timer::draw | ( | sf::RenderWindow & | window | ) |
| void Timer::update | ( | ) |
| void Timer::update | ( | int | instantTimeLost | ) |
| void Timer::updateTimerText | ( | ) |
Display the hours , minutes and seconds