TimeManager
Time.h
TimeManagerHandles access to high precision timers and time related functionsDescription
The time manager gives the user access to an arbitrary number of timers, which can either becount down or count up timers. Count down timers can be created specifying an optional callback function to be run when the timer hits zero. Either type of timer may be queried at any point to determine its current time value. The time manager also provides additional functions to return the local time and date as a string (in a format specified by the designer using a format string). Finally, the time manager provides functions for an in-game clock, allowing the clock to be set, stopped, started, moved forward, and scaled with respect to real time. Note that the game clock should not be used as a timer, as it is limited to second precision (the game clock is meant to be used as a clock). The time manager is accessed through the globally defined value TimeMgr.Definition
class TimeManagerContructor
TimeManager();Member Functions
|