Constructor

new(note:Note, character:Character, player:Bool, noteType:String, direction:Int)

Creates a new NoteHitEvent with the following values:

Parameters:

note
character
player
null

noteType

Variables

Methods

preventAnim():Void

Prevents the default sing animation from being played.

Inherited Variables

Defined by CancellableEvent

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

@:value({ c : true })preventDefault(c:Bool = true):Void

Prevents default action from occuring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

toString():String

Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]

Returns:

String