Update note visuals.

This commit is contained in:
2026-02-01 23:14:52 +08:00
parent 72f9b8eea5
commit 3a9d3046b2
4 changed files with 68 additions and 1 deletions

View File

@@ -8,3 +8,15 @@ enum TYPE {
@abstract func reset() -> void
@abstract func in_use() -> bool
@abstract func update(beat: float) -> void
# ======= IMPLEMENTATION ======= #
var _lane: Lane = null
func _notification(what: int) -> void:
match what:
NOTIFICATION_PARENTED:
_lane = get_parent() as Lane
NOTIFICATION_UNPARENTED:
_lane = null