|
DubiousEngine
0.2.0
Simple Game Engine
|
#include <Timer.h>
Public Member Functions | |
| Timer () | |
| Constructor. Calls Start. More... | |
| Timer (const Timer &)=delete | |
| Timer & | operator= (const Timer &)=delete |
| void | start () |
| Starts the timer. More... | |
| int64_t | restart () |
| Timer Restart. More... | |
| int64_t | elapsed () const |
| Elapsed Time. More... | |
| Dubious::Utility::Timer::Timer | ( | ) |
Constructor. Calls Start.
|
delete |
| int64_t Dubious::Utility::Timer::elapsed | ( | ) | const |
Elapsed Time.
Gets the number of milliseconds since the last call to start or restart. Does not restart the timer.
| int64_t Dubious::Utility::Timer::restart | ( | ) |
Timer Restart.
Restarts the timer and returns how much time has elapsed since the last call to Start or Restart
| void Dubious::Utility::Timer::start | ( | ) |
Starts the timer.