Available since

11.19.2012

.

Constructor

@:value({ Instant : false, IgnoreCycle : false })new(Func:() ‑> Bool, IgnoreCycle:Bool = false, Instant:Bool = false, ?Next:FlxTask)

Creates a new FlxTask

Variables

ignoreCycle:Bool

If true then the task will be deleted from the manager immediately after execution.

instant:Bool

If true the task will be completed right after it's first call

next:FlxTask

Pointer to the next task.

func:() ‑> Bool

Method-task to be executed

Methods

destroy():Void

Destroys the list.