|
|
PixelBullet
0.0.1
A C++ game engine
|
A high-resolution timer for measuring elapsed time. More...
#include <timer.h>
Public Member Functions | |
| void | Reset () |
| Resets the timer to the current time. | |
| float | GetElapsedSeconds () const |
| Returns the elapsed time (in seconds) since the last Reset. | |
| float | GetElapsedMilliseconds () const |
| Returns the elapsed time (in milliseconds) since the last Reset. | |
A high-resolution timer for measuring elapsed time.
| float pixelbullet::Timer::GetElapsedMilliseconds | ( | ) | const |
Returns the elapsed time (in milliseconds) since the last Reset.
| float pixelbullet::Timer::GetElapsedSeconds | ( | ) | const |
Returns the elapsed time (in seconds) since the last Reset.
| void pixelbullet::Timer::Reset | ( | ) |
Resets the timer to the current time.