![]() |
Skylicht Engine
|
Static Public Member Functions | |
| static u32 | getTime () |
| returns the current time in milliseconds | |
| static ITimer::RealTimeDate | getRealTimeAndDate () |
| get current time and date in calendar form | |
| static void | initTimer (bool usePerformanceTimer=true) |
| initializes the real timer | |
| static void | setTime (u32 time) |
| sets the current virtual (game) time | |
| static void | stopTimer () |
| stops the virtual (game) timer | |
| static void | startTimer () |
| starts the game timer | |
| static void | setSpeed (f32 speed) |
| sets the speed of the virtual timer | |
| static f32 | getSpeed () |
| gets the speed of the virtual timer | |
| static bool | isStopped () |
| returns if the timer currently is stopped | |
| static void | tick () |
| makes the virtual timer update the time value based on the real time | |
| static u32 | getRealTime () |
| returns the current real time in milliseconds | |