aboutsummaryrefslogtreecommitdiff
path: root/game/src/MainMenu/MainMenu.gd
diff options
context:
space:
mode:
author Brendan Griffiths <96725360+Orwellian-225@users.noreply.github.com>2023-03-01 17:00:24 +0100
committer GitHub <noreply@github.com>2023-03-01 17:00:24 +0100
commit4e099cf1d3f5fa37e9aa520d90aaf505fee3ce23 (patch)
tree5355285405336b55eeab21ca5ecc24c8e9ecf1d8 /game/src/MainMenu/MainMenu.gd
parent2062aaf394ee6581161add4bcb23076475e236ac (diff)
add: credits.csv - req: FS4 (#16)
Requirements met by this PR: SS-17 SS-29 [1] UI-32 UI-34 UIFUN-36 UI-35 UI-38 UIFUN-37 FS-4
Diffstat (limited to 'game/src/MainMenu/MainMenu.gd')
-rw-r--r--game/src/MainMenu/MainMenu.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/game/src/MainMenu/MainMenu.gd b/game/src/MainMenu/MainMenu.gd
index 1e15d10..4ffa3b0 100644
--- a/game/src/MainMenu/MainMenu.gd
+++ b/game/src/MainMenu/MainMenu.gd
@@ -2,6 +2,7 @@ extends Control
signal options_button_pressed
signal new_game_button_pressed
+signal credits_button_pressed
@export
var _new_game_button : BaseButton
@@ -37,6 +38,12 @@ 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()
+
func _on_exit_button_pressed():
print("See you later!")