Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
fireworks::utils::Timer Class Reference

Timer class to keep track of the time. More...

#include <timer.h>

Public Member Functions

 Timer ()
 Simple Initializer of the timer object that. More...
 
void reset ()
 resets the timer to current time More...
 
float elapsedTime ()
 The completion time in milli seconds since the first frame was renderer. More...
 

Detailed Description

Timer class to keep track of the time.

Constructor & Destructor Documentation

◆ Timer()

fireworks::utils::Timer::Timer ( )
inline

Simple Initializer of the timer object that.

Member Function Documentation

◆ elapsedTime()

float fireworks::utils::Timer::elapsedTime ( )
inline

The completion time in milli seconds since the first frame was renderer.

◆ reset()

void fireworks::utils::Timer::reset ( )
inline

resets the timer to current time


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