Created message class and updated menu system

This commit is contained in:
2ndbeam 2024-05-19 16:09:50 +03:00
commit 7134891e55
12 changed files with 62 additions and 13 deletions

View file

@ -0,0 +1,14 @@
extends Button
class_name MenuAction
var id: int = -1
func _init():
get_tree().create_timer(0.05).timeout.connect(_ready)
func _ready():
button_up.connect(action)
func action():
pass