diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-01 15:46:13 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-01 15:46:13 +0200 |
commit | 69cce2c92e067595d862c479104df6e966a1e8ee (patch) | |
tree | 33c5f8ca6993f4d8fdc38516ca7684406eb66e1d /client/menu/ingame_menu.gd | |
parent | 1e28d68b1fc17a95b0dda305633be2016b692836 (diff) | |
download | hurrycurry-69cce2c92e067595d862c479104df6e966a1e8ee.tar hurrycurry-69cce2c92e067595d862c479104df6e966a1e8ee.tar.bz2 hurrycurry-69cce2c92e067595d862c479104df6e966a1e8ee.tar.zst |
refactor menu system yet again
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") |