DeltaTime Timer Can work as Clock

Static methods

staticinlineclock(time:Time):DTimer

@:value({ repeat : 0 })staticinlinecreateFixedTimer(time:TimeInterval, repeat:Int = 0):DTimer

@:value({ repeat : 0 })staticinlinecreateTimer(time:TimeInterval, repeat:Int = 0):DTimer

staticinlinedelay(time:Time, f:Listener1<DT>, ?dt:DT):DTimer

staticinlinefixedClock(time:Time):DTimer

staticinlinefixedDelay(time:Time, f:Listener1<DT>, ?dt:DT):DTimer

staticinlinefixedRepeat(time:Time, f:Listener1<DT>, ?dt:DT):DTimer

staticinlinerepeat(time:Time, f:Listener1<DT>, ?dt:DT):DTimer

Constructor

@:value({ repeatCount : 0 })new(updateSignal:Signal1<DT>, ?time:TimeInterval, repeatCount:Int = 0)

Variables

read onlycomplete:Signal1<DT>

read onlyprogress:Signal1<Float>

@:value(0)repeatCount:Int = 0

read onlyupdate:Signal1<Time>

Methods

destroy():Void

inlineset_repeatCount(value:Int):Int

inlinestart(?dt:DT):DTimer

start0():Void

inlinestop():DTimer

inlinetoString():String