diff options
Diffstat (limited to 'game/src/MainMenu.gd')
-rw-r--r-- | game/src/MainMenu.gd | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/game/src/MainMenu.gd b/game/src/MainMenu.gd deleted file mode 100644 index de49ec4..0000000 --- a/game/src/MainMenu.gd +++ /dev/null @@ -1,31 +0,0 @@ -extends Control - -signal options_button_pressed - -func _ready(): - print("From GDScript") - TestSingleton.hello_singleton() - $VBox/Center/VBox/NewGameButton.grab_focus() - - -func _on_new_game_button_pressed(): - print("Start a new game!") - get_tree().change_scene_to_file("res://src/SampleGame.tscn") - - -func _on_continue_button_pressed(): - print("Continue last game!") - - -func _on_multi_player_button_pressed(): - print("Have fun with friends!") - - -func _on_options_button_pressed(): - print("Check out some options!") - options_button_pressed.emit() - - -func _on_exit_button_pressed(): - print("See you later!") - get_tree().quit() |