Created message class and updated menu system
This commit is contained in:
parent
6963cab2af
commit
7134891e55
12 changed files with 62 additions and 13 deletions
14
scripts/Classes/Menu/menu_action.gd
Normal file
14
scripts/Classes/Menu/menu_action.gd
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue