#include <Timer.h>
Public Member Functions | |
Timer () | |
~Timer () | |
void | setTimeSinceLastFrame (float deltaTime) |
float | getTimeSinceLastFrame () const |
Protected Attributes | |
float | mTimeSinceLastFrame |
Definition at line 12 of file Timer.h.
ASR::Timer::Timer | ( | ) |
float ASR::Timer::getTimeSinceLastFrame | ( | ) | const |
Definition at line 30 of file Timer.cpp.
References mTimeSinceLastFrame.
00031 { 00032 return mTimeSinceLastFrame; 00033 }
void ASR::Timer::setTimeSinceLastFrame | ( | float | deltaTime | ) |
Definition at line 23 of file Timer.cpp.
References mTimeSinceLastFrame.
Referenced by ASR::GameListener::frameEnded(), and ASR::GameListener::frameStarted().
00024 { 00025 mTimeSinceLastFrame = deltaTime; 00026 }
float ASR::Timer::mTimeSinceLastFrame [protected] |
Definition at line 17 of file Timer.h.
Referenced by getTimeSinceLastFrame(), and setTimeSinceLastFrame().