Organize files. WIP score system.

This commit is contained in:
2026-01-29 00:20:56 +08:00
parent 051ca8bcd8
commit fd5ee404d7
14 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
## Gets a range of notes in a NoteData relative to a current beat.
class_name NoteView extends View
## The full set of notes.
@export var notes: NoteArray = null: set = _set_notes
## Get the array this NoteView refers to.
func get_data() -> NoteArray:
return notes
func update_current_beat(beat: float) -> void:
_current_beat = beat
_update_view_relative_to_notes(notes)
# ======= IMPLEMENTATION ======= #
func _set_notes(p_notes: NoteArray) -> void:
notes = p_notes
_reset_view()