Implement note visuals update method.

This commit is contained in:
2026-02-04 00:03:12 +08:00
parent 6ac9be6c79
commit fa0c53ac3e
4 changed files with 35 additions and 5 deletions

View File

@@ -1,14 +1,16 @@
class_name TapNote extends NoteVisual
var hit_beat: float = -999.0
var id: int = -1
#TODO: Add all the members needed so a note can be updated.
func reset() -> void:
id = -1
hit_beat = -999.0
position = Vector2(0, 9999.0)
func in_use() -> bool:
return id >= 0
func update(beat: float) -> void:
pass
position.y = _calculate_scroll(hit_beat, beat)