NoteData stringifies nicer now.

This commit is contained in:
EliteMasterEric 2024-02-15 17:23:43 -05:00
parent 9209bac02c
commit c896300b63
1 changed files with 6 additions and 0 deletions

View File

@ -1016,6 +1016,12 @@ class SongNoteDataRaw implements ICloneable<SongNoteDataRaw>
{
return new SongNoteDataRaw(this.time, this.data, this.length, this.kind);
}
public function toString():String
{
return 'SongNoteData(${this.time}ms, ' + (this.length > 0 ? '[${this.length}ms hold]' : '') + ' ${this.data}'
+ (this.kind != '' ? ' [kind: ${this.kind}])' : ')');
}
}
/**