Update note visuals.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user