From 4e9764ee29fb7b453862835d5aa3a081b0f9a269 Mon Sep 17 00:00:00 2001 From: hop311 Date: Mon, 18 Dec 2023 23:38:54 +0000 Subject: Back to UI Work - UIAdapter -> UITools with cleaner API - GUIOverlappingElementsBox (for core and modifier icons) - Improved GUINode API - Province building slots - TypeHints for files in the GameSession folder - Incorporate SIM strong colour types --- game/src/Game/GameSession/GameSessionMenu.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'game/src/Game/GameSession/GameSessionMenu.gd') diff --git a/game/src/Game/GameSession/GameSessionMenu.gd b/game/src/Game/GameSession/GameSessionMenu.gd index 23ef2ef..7db0572 100644 --- a/game/src/Game/GameSession/GameSessionMenu.gd +++ b/game/src/Game/GameSession/GameSessionMenu.gd @@ -63,7 +63,7 @@ func _on_quit_confirmed() -> void: func _on_options_button_pressed() -> void: options_button_pressed.emit() -func _on_main_menu_dialog_custom_action(action) -> void: +func _on_main_menu_dialog_custom_action(action : StringName) -> void: match action: &"save_and_main_menu": _on_main_menu_confirmed() @@ -73,8 +73,8 @@ func _on_quit_dialog_custom_action(action : StringName) -> void: &"save_and_quit": _on_quit_confirmed() -func _on_save_button_pressed(): +func _on_save_button_pressed() -> void: save_button_pressed.emit() -func _on_load_button_pressed(): +func _on_load_button_pressed() -> void: load_button_pressed.emit() -- cgit v1.2.3-56-ga3b1