diff options
Diffstat (limited to 'game/src/Game/Menu/MainMenu/MainMenu.gd')
-rw-r--r-- | game/src/Game/Menu/MainMenu/MainMenu.gd | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/game/src/Game/Menu/MainMenu/MainMenu.gd b/game/src/Game/Menu/MainMenu/MainMenu.gd index 9d0edc6..cc8841f 100644 --- a/game/src/Game/Menu/MainMenu/MainMenu.gd +++ b/game/src/Game/Menu/MainMenu/MainMenu.gd @@ -9,42 +9,42 @@ var _new_game_button : BaseButton # REQUIREMENTS: # * SS-3 -func _ready(): +func _ready() -> void: _on_new_game_button_visibility_changed() # REQUIREMENTS: # * SS-14 # * UIFUN-32 -func _on_new_game_button_pressed(): +func _on_new_game_button_pressed() -> void: print("Start a new game!") new_game_button_pressed.emit() -func _on_continue_button_pressed(): +func _on_continue_button_pressed() -> void: print("Continue last game!") -func _on_multi_player_button_pressed(): +func _on_multi_player_button_pressed() -> void: print("Have fun with friends!") -func _on_options_button_pressed(): +func _on_options_button_pressed() -> void: print("Check out some options!") options_button_pressed.emit() # REQUIREMENTS # * UI-32 # * UIFUN-36 -func _on_credits_button_pressed(): +func _on_credits_button_pressed() -> void: credits_button_pressed.emit() # REQUIREMENTS # * SS-4 # * UIFUN-3 -func _on_exit_button_pressed(): +func _on_exit_button_pressed() -> void: print("See you later!") get_tree().quit() -func _on_new_game_button_visibility_changed(): +func _on_new_game_button_visibility_changed() -> void: if visible: _new_game_button.grab_focus.call_deferred() |