new()
player:Int
s Player ID
@:value("game/notes/default")sprite:String = "game/notes/default"
Sprite path, in case you only want to change the sprite.
strum:Strum
The strum that is being created
strumID:Int
Strum ID, for the sprite.
cancelAnimation():Void
Cancels the animation that makes the strum "land" in the strumline.
@:value({ sprite : "game/notes/default" })recycle(strum:Strum, player:Int, strumID:Int, sprite:String = "game/notes/default"):StrumCreationEvent
@: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