new()
animName:String
Name of the animation that's going to be played.
context:PlayAnimContext
Context of the animation
force:Bool
Whenever the animation will be forced or not.
reverse:Bool
Whenever the animation will play in reverse or not
@:value(0)startingFrame:Int = 0
The frame at which the animation will start playing
@:value({ startingFrame : 0 })recycle(animName:String, force:Bool, reverse:Bool, startingFrame:Int = 0, context:PlayAnimContext):PlayAnimEvent
@:value({ })data:Dynamic = { }
Additional data if used in scripts
destroy():Void
@:value({ c : false })preventDefault(c:Bool = false):Void
Prevents default action from occurring.
Parameters:
c
Whenever the scripts following this one should be called or not. (Defaults to true)
true
recycleBase():Void
toString():String
Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String