EngineLib
 All Classes Functions
Public Member Functions | List of all members
Timer Class Reference

#include <Timer.h>

Public Member Functions

void update ()
 
float getFrameRate ()
 
unsigned int getTicks ()
 

Detailed Description

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.

Member Function Documentation

float Timer::getFrameRate ( )

Gets caluculated Framerate

Returns
float
Uint32 Timer::getTicks ( )

Get last Frametime in ms

Returns
int
void Timer::update ( )

Update the Timer.


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