W3cubDocs

/Haxe

MainEvent

package haxe

import haxe.MainLoop

Available on all platforms

Variables

read only nextRun:Float

read only priority:Int

Methods

inline call ():Void

Call the event. Will do nothing is the event has been stopped.

delay (t:Null<Float>):Void

Delay the execution of the event for the given time, in seconds. If t is null, the event will be run at tick() time.

stop ():Void

Stop the event from firing anymore.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/MainEvent.html