aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameMenu.gd
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-02-12 16:09:17 +0100
committer GitHub <noreply@github.com>2023-02-12 16:09:17 +0100
commitc0d8a4ac3723021c95da9674c3bc0eea511ee3a0 (patch)
tree4ca4a0835cb833fbba1983f0e8de5fa66227b86e /game/src/GameMenu.gd
parent537938683b748dbf5fcd78276aa823f168f715f1 (diff)
parent3798205c740e7e2faf2594866cb497260012508c (diff)
Merge pull request #7 from Spartan322/feature/usable-ui
Diffstat (limited to 'game/src/GameMenu.gd')
-rw-r--r--game/src/GameMenu.gd13
1 files changed, 13 insertions, 0 deletions
diff --git a/game/src/GameMenu.gd b/game/src/GameMenu.gd
new file mode 100644
index 0000000..1f5a77e
--- /dev/null
+++ b/game/src/GameMenu.gd
@@ -0,0 +1,13 @@
+extends Control
+
+
+func _on_main_menu_options_button_pressed():
+ $OptionsMenu.toggle_locale_button_visibility(false)
+ $OptionsMenu.show()
+ $MainMenu.hide()
+
+
+func _on_options_menu_back_button_pressed():
+ $MainMenu.show()
+ $OptionsMenu.hide()
+ $OptionsMenu.toggle_locale_button_visibility(true)