25 #include "WGEAnimationFrameTimer.h"
30 m_framesPerSecond( framesPerSecond )
virtual void tick()
Increments frame count.
size_t m_tick
The current tick value.
virtual double elapsed() const
Returns the elapsed time since the last reset in seconds with milliseconds precision.
virtual void reset()
Resets the start-tick.
virtual ~WGEAnimationFrameTimer()
Destructor.
double m_framesPerSecond
The number of frames per second.
WGEAnimationFrameTimer(float framesPerSecond=24.0)
Constructs a frame based animation timer.