Done refactoring

This commit is contained in:
2ndbeam 2023-11-05 21:51:47 +03:00
commit 2176e9d798
88 changed files with 821 additions and 880 deletions

View file

@ -0,0 +1,16 @@
extends NinePatchRect
class_name MenuDefaultButton
@export var clickable : BaseButton
@onready var ship = get_tree().current_scene.get_node("MainShip")
func _ready():
clickable.button_up.connect(_button_up)
func _button_up():
action()
func action():
pass