![]() |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
A clock that can be used to tell how much time has passed. More...
#include <clock.h>
Public Member Functions | |
Clock () | |
Default constructor to create a clock and have the start time be equal to the time it was created. | |
long | getElapsedTimeAsMilliseconds () |
Get the number of milliseconds since the clock was created or restarted. More... | |
void | reset () |
Reset the clock so that the total amount of time pass equals 0. | |
A clock that can be used to tell how much time has passed.
long rune::Clock::getElapsedTimeAsMilliseconds | ( | ) |
Get the number of milliseconds since the clock was created or restarted.