Static methods

staticaddBreakableFrameTask (task:Void ‑> Bool, priority:Int):Int

staticaddBreakableTimeTask (task:Void ‑> Bool, start:Float, period:Float = 0, duration:Float = 0):Int

staticaddBreakableTimeTaskToGroup (groupId:Int, task:Void ‑> Bool, start:Float, period:Float = 0, duration:Float = 0):Int

staticaddFrameTask (task:Void ‑> Void, priority:Int):Int

staticaddTimeTask (task:Void ‑> Void, start:Float, period:Float = 0, duration:Float = 0):Int

staticaddTimeTaskToGroup (groupId:Int, task:Void ‑> Void, start:Float, period:Float = 0, duration:Float = 0):Int

staticinit ():Void

staticisStopped ():Bool

staticpauseFrameTask (id:Int, paused:Bool):Void

staticpauseTimeTask (id:Int, paused:Bool):Void

staticpauseTimeTasks (groupId:Int, paused:Bool):Void

staticrealTime ():Float

The amount of time (in fractional seconds) that elapsed since the game started.

staticremoveTimeTasks (groupId:Int):Void

staticresetTime ():Void

staticstart (restartTimers:Bool = false):Void

staticstop ():Void

statictime ():Float

An approximation of the amount of time (in fractional seconds) that elapsed while the game was active. This value is optimized for achieving smooth framerates.

staticwarp (time:Float):Void