17 virtual void Init()
override;
32 double FLING_API
GetTime()
const;
41 return static_cast<float>(
GetTime() );
float FLING_API GetTimef() const
Get the current time of the application (float)
Definition: Timing.h:39
float m_frameStartTimef
Definition: Timing.h:70
float FLING_API GetDeltaTime() const
Definition: Timing.h:25
double m_lastFrameStartTime
Definition: Timing.h:69
double FLING_API GetTime() const
Get the current time of the application (double)
Definition: Timing.cpp:22
float m_deltaTime
Definition: Timing.h:67
Class that can have only one instance.
Definition: Singleton.hpp:11
float FLING_API GetTimeSinceStart() const
Get the time since that application has started (i.e.
Definition: Timing.h:63
virtual void Init() override
Definition: Timing.cpp:7
float FLING_API GetFrameStartTime() const
Get the time that that frame has started.
Definition: Timing.h:49
double FLING_API GetStartTime() const
Get the time that the application has started.
Definition: Timing.h:56
void Update()
Update the time values of the timer.
Definition: Timing.cpp:12
double m_startTime
The time that the program started.
Definition: Timing.h:73