Wrap SongNoteData in an abstract so we can overload operators.

Static variables

@:jignoredstaticread onlyisHoldNote:Bool

Whether this note is a hold note.

Static methods

@:value({ strumlineSize : 4 })staticbuildDirectionName(data:Int, strumlineSize:Int = 4):String

@:op(A == B)staticop_equals(this:SongNoteDataRaw, other:SongNoteData):Bool

Determine if two notes are equal. Ex. note1 == note2

Parameters:

other

The other note to compare.

Returns:

Whether the two notes have equal data.

@:op(A > B)staticop_greaterThan(this:SongNoteDataRaw, other:SongNoteData):Bool

@:op(A >= B)staticop_greaterThanOrEquals(this:SongNoteDataRaw, other:SongNoteData):Bool

@:op(A < B)staticop_lessThan(this:SongNoteDataRaw, other:SongNoteData):Bool

@:op(A <= B)staticop_lessThanOrEquals(this:SongNoteDataRaw, other:SongNoteData):Bool

@:op(A != B)staticop_notEquals(this:SongNoteDataRaw, other:SongNoteData):Bool

statictoString(this:SongNoteDataRaw):String

Produces a string representation suitable for debugging.