aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameMenu.gd
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-12-24 19:23:18 +0100
committer GitHub <noreply@github.com>2023-12-24 19:23:18 +0100
commitd26c990d9a5596a3ef3b32ba1cb0f99950cd6d34 (patch)
tree1b99c935438692bb2ebadeac412b990c82089b65 /game/src/Game/GameMenu.gd
parent50b0b935b0bf0724f40b5140aca85d1830a8b1b3 (diff)
parentb6413251a866c76538869b84ed1c9b9852f7c507 (diff)
Merge pull request #178 from Spartan322/add-menu-type-hints
Diffstat (limited to 'game/src/Game/GameMenu.gd')
-rw-r--r--game/src/Game/GameMenu.gd14
1 files changed, 7 insertions, 7 deletions
diff --git a/game/src/Game/GameMenu.gd b/game/src/Game/GameMenu.gd
index 8e3239f..974c1d9 100644
--- a/game/src/Game/GameMenu.gd
+++ b/game/src/Game/GameMenu.gd
@@ -7,36 +7,36 @@ extends Control
# REQUIREMENTS
# * SS-10
-func _ready():
+func _ready() -> void:
Events.Options.load_settings_from_file()
-func _on_main_menu_new_game_button_pressed():
+func _on_main_menu_new_game_button_pressed() -> void:
_lobby_menu.show()
_main_menu.hide()
# REQUIREMENTS
# * SS-6
# * UIFUN-5
-func _on_main_menu_options_button_pressed():
+func _on_main_menu_options_button_pressed() -> void:
_options_menu.show()
_main_menu.hide()
-func _on_options_menu_back_button_pressed():
+func _on_options_menu_back_button_pressed() -> void:
_main_menu.show()
_options_menu.hide()
-func _on_lobby_menu_back_button_pressed():
+func _on_lobby_menu_back_button_pressed() -> void:
_main_menu.show()
_lobby_menu.hide()
-func _on_credits_back_button_pressed():
+func _on_credits_back_button_pressed() -> void:
_credits_menu.hide()
_main_menu.show()
-func _on_main_menu_credits_button_pressed():
+func _on_main_menu_credits_button_pressed() -> void:
_credits_menu.show()
_main_menu.hide()