diff options
Diffstat (limited to 'client/menu/ingame_menu.gd')
-rw-r--r-- | client/menu/ingame_menu.gd | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/client/menu/ingame_menu.gd b/client/menu/ingame_menu.gd deleted file mode 100644 index 6fa83a55..00000000 --- a/client/menu/ingame_menu.gd +++ /dev/null @@ -1,27 +0,0 @@ -extends Control - -@onready var anim = $AnimationPlayer -@onready var options = $Side/Margin/Options - -func _ready(): - Global.connect_button_sounds(self) - -func act(): - show() - anim.play("activate") - Global.focus_first_button(options) - -func deact(): - anim.play_backwards("activate") - await anim.animation_finished - hide() - -func _on_main_menu_pressed(): - Global.fade_next = true - get_parent().transition_to("res://menu/menu_manager.tscn") - -func _on_quit_pressed(): - get_parent().quit() - -func _on_reconnect_pressed(): - get_parent().transition_to("res://game.tscn") |