new()
coopMode:Bool
Whenever coop mode is enabled.
difficulty:String
Difficulty name
opponentMode:Bool
Whenever opponent mode is enabled or not.
song:String
Song name that is about to be played
recycle(song:String, difficulty:String, opponentMode:Bool, coopMode:Bool):FreeplaySongSelectEvent
@: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