#include <Timer.h>
Public Methods | |
int | getFrameRate () |
Returns the frame rate. | |
void | setStartTime () |
Starts the timer. | |
float | getSecondsSinceStart () |
Returns the number of seconds that have passed since the timer was started. | |
float | getNumTicksPerMs () |
Returns the number of ticks per millisecond. | |
void | calcFrameCount () |
Calculates the frame rate. | |
float | getFrameDt () |
Calculates and returns the number of seconds that have passed since the last frame. | |
Timer () | |
Constructor. | |
~Timer () | |
Destructor. |
Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck
|
Constructor. Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck |
|
Destructor.
|
|
Calculates the frame rate.
|
|
Calculates and returns the number of seconds that have passed since the last frame.
|
|
Returns the frame rate.
|
|
Returns the number of ticks per millisecond.
|
|
Returns the number of seconds that have passed since the timer was started.
|
|
Starts the timer.
|