new()
animName:String
Default animation that will be played
context:PlayAnimContext
Context of the animation. Is either equal to SING or MISS.
SING
MISS
direction:Int
In which direction the animation will be played
@:value(true)force:Bool = true
Whenever the animation will play reversed or not.
frame:Int
At what frame the animation will start playing
reversed:Bool
suffix:String
The suffix of the animation (ex: "-alt") - Defaults to ""
@:value({ force : true })recycle(animName:String, direction:Int, suffix:String, context:PlayAnimContext, reversed:Bool, frame:Int, force:Bool = true):DirectionAnimEvent
@: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