Files
godot-4-key-rhythm-game/rhythm_game/note/visual/tap/tap_note.gd

10 lines
128 B
GDScript

class_name TapNote extends NoteVisual
var id: int = -1
func reset() -> void:
id = -1
func in_use() -> bool:
return id >= 0