aboutsummaryrefslogtreecommitdiff
path: root/game/src/MainMenu/MainMenu.gd
diff options
context:
space:
mode:
author Spartan322 <Megacake1234@gmail.com>2023-06-03 20:37:10 +0200
committer Spartan322 <Megacake1234@gmail.com>2023-06-03 20:37:10 +0200
commitcef940108fe15752c3ef66f43f5169403fa2f71d (patch)
treefe4de5a05830e3bddeae78f74f729503b7cee1e9 /game/src/MainMenu/MainMenu.gd
parent73e29d02e48739aba5ca5db1b9575c67e795400f (diff)
Reorganize the file structure of the files in `game/src`
Diffstat (limited to 'game/src/MainMenu/MainMenu.gd')
-rw-r--r--game/src/MainMenu/MainMenu.gd50
1 files changed, 0 insertions, 50 deletions
diff --git a/game/src/MainMenu/MainMenu.gd b/game/src/MainMenu/MainMenu.gd
deleted file mode 100644
index 9d0edc6..0000000
--- a/game/src/MainMenu/MainMenu.gd
+++ /dev/null
@@ -1,50 +0,0 @@
-extends Control
-
-signal options_button_pressed
-signal new_game_button_pressed
-signal credits_button_pressed
-
-@export
-var _new_game_button : BaseButton
-
-# REQUIREMENTS:
-# * SS-3
-func _ready():
- _on_new_game_button_visibility_changed()
-
-# REQUIREMENTS:
-# * SS-14
-# * UIFUN-32
-func _on_new_game_button_pressed():
- print("Start a new game!")
- new_game_button_pressed.emit()
-
-
-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()
-
-# REQUIREMENTS
-# * UI-32
-# * UIFUN-36
-func _on_credits_button_pressed():
- credits_button_pressed.emit()
-
-# REQUIREMENTS
-# * SS-4
-# * UIFUN-3
-func _on_exit_button_pressed():
- print("See you later!")
- get_tree().quit()
-
-func _on_new_game_button_visibility_changed():
- if visible:
- _new_game_button.grab_focus.call_deferred()