#include <Timer.h>
Public Member Functions | |
void | update () |
float | getFrameRate () |
unsigned int | getTicks () |
Represents a Timer for the BaseEngine.
This Timer is used to calculate the Framerate for the Engine. You can use this Timer for your own purposes.
float Timer::getFrameRate | ( | ) |
Gets caluculated Framerate
Uint32 Timer::getTicks | ( | ) |
Get last Frametime in ms
void Timer::update | ( | ) |
Update the Timer.