Group of notes, that handles updating and rendering only the visible notes.
To only get the visible notes you gotta do group.forEach()
or group.forEachAlive()
instead of group.members
.
Constructor
Variables
limit:Float = Flags.DEFAULT_NOTE_MS_LIMIT
How many milliseconds it should show a note before it should be hit
Methods
View on GitHub
inlineaddNotes(notes:Array<Note>):Void
Adds an array of notes to the group, and sorts them.
View on GitHub
inlinepreallocate(len:Int):Void
Preallocates the members array with nulls, but if theres anything in the array already it clears it