11 lines
239 B
GDScript
11 lines
239 B
GDScript
class_name Lane extends Node2D
|
|
|
|
|
|
func get_hit_pos() -> Vector2:
|
|
return position
|
|
|
|
## Should be connected to [signal NoteSpawner.notes_spawned].
|
|
func update(beat: float) -> void:
|
|
for note: NoteVisual in get_children():
|
|
note.update(beat)
|