Static
Readonly
gameStandard game time starting automatically with the application
See EventTarget.addEventListener for reference. Works with EventListenerUnified and EventUnified
Optional
_options: boolean | AddEventListenerOptionsStops and deletes all Timers attached. Should be called before this Time-object leaves scope
Deletes Timer found using the internal id of the connected interval-object
See EventTarget.dispatchEvent for reference. Works with with EventUnified
Returns true if there are Timers installed to this
See EventTarget.removeEventListener for reference. Works with EventListenerUnified and EventUnified
Optional
_options: boolean | AddEventListenerOptionsInstalls a timer at this time object
The object-time to elapse between the calls to _callback
The number of calls desired, 0 = Infinite
The function to call each the given lapse has elapsed
Rest
..._arguments: Object[]Additional parameters to pass to callback function
Static
get
Instances of this class generate a timestamp that correlates with the time elapsed since the start of the program but allows for resetting and scaling.
Supports Timers similar to window.setInterval but with respect to the scaled time. All time values are given in milliseconds
Authors
Jirka Dell'Oro-Friedl, HFU, 2019