18#include <OgreSingleton.h>
23class Timer :
public Ogre::Singleton<Timer>{
The game timer.
Definition: Timer.h:23
void AddTime(const float time)
Adds time to the time.
Definition: Timer.cpp:44
float game_time_total_
The total game time.
Definition: Timer.h:105
float GetGameTimeTotal()
Retrieves the total game time.
Definition: Timer.cpp:40
float GetSystemTimeDelta()
Retrieves the system time difference.
Definition: Timer.cpp:38
float game_timer_
The game timer.
Definition: Timer.h:115
int GetGameTimer() const
Retrieves the game timer.
Definition: Timer.cpp:57
float system_time_delta_
The system time difference.
Definition: Timer.h:100
Timer()
Constructor.
Definition: Timer.cpp:28
float game_time_delta_
The game time difference.
Definition: Timer.h:110
float system_time_total_
The total system time.
Definition: Timer.h:95
float GetSystemTimeTotal()
Retrieves the total system time.
Definition: Timer.cpp:36
void SetGameTimer(const float timer)
Sets the game timer.
Definition: Timer.cpp:55
float GetGameTimeDelta()
Retrieves the game time difference.
Definition: Timer.cpp:42