11.19.2012
@:value({ Instant : false, IgnoreCycle : false })new(Func:() ‑> Bool, IgnoreCycle:Bool = false, Instant:Bool = false, ?Next:FlxTask)
Creates a new FlxTask
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
destroy():Void
Destroys the list.