11 lines
259 B
GDScript3
11 lines
259 B
GDScript3
|
|
class_name EditorNoteArray extends NoteArray
|
||
|
|
|
||
|
|
func _ready() -> void:
|
||
|
|
for note: EditorNote in get_children():
|
||
|
|
if note == null:
|
||
|
|
return
|
||
|
|
# TODO: Make this insert sorted.
|
||
|
|
_beats.append(note.hit_beat)
|
||
|
|
_types.append(note.type)
|
||
|
|
_lanes.append(note.lane)
|