EchoesOfFate
A game for our COMP315 Project
 
Loading...
Searching...
No Matches
Timer Class Reference

#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)
 

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( int startSeconds,
const std::string & fontPath )

Load the font

Set the text on the Screen

Member Function Documentation

◆ draw()

void Timer::draw ( sf::RenderWindow & window)

◆ update() [1/2]

void Timer::update ( )

◆ update() [2/2]

void Timer::update ( int instantTimeLost)

◆ updateTimerText()

void Timer::updateTimerText ( )

Display the hours , minutes and seconds


The documentation for this class was generated from the following files: