Add scenes, static scene-finding mechanism, and scene pool for visual hold/tap notes.
This commit is contained in:
9
rhythm_game/note/visual/tap/tap_note.gd
Normal file
9
rhythm_game/note/visual/tap/tap_note.gd
Normal file
@@ -0,0 +1,9 @@
|
||||
class_name TapNote extends NoteVisual
|
||||
|
||||
var id: int = -1
|
||||
|
||||
func reset() -> void:
|
||||
id = -1
|
||||
|
||||
func in_use() -> bool:
|
||||
return id >= 0
|
||||
Reference in New Issue
Block a user