aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/GameSpeedPanel.gd
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-07-21 18:02:38 +0200
committer GitHub <noreply@github.com>2023-07-21 18:02:38 +0200
commit40e412da4a11de97dda041287e306ca285c50ccf (patch)
treea0b28dffaba50d351cab1619f54516be23d2aa6f /game/src/Game/GameSession/GameSpeedPanel.gd
parentf3f240853b15a9f9b7cb561dc6626e7f342c5c74 (diff)
parent62d001b0fa209f259440e160503dc5ffe5bcaa8f (diff)
Merge pull request #142 from OpenVicProject/tidying
Tidying: missing req comments, submodules, hotkeys, user data folder
Diffstat (limited to 'game/src/Game/GameSession/GameSpeedPanel.gd')
-rw-r--r--game/src/Game/GameSession/GameSpeedPanel.gd10
1 files changed, 8 insertions, 2 deletions
diff --git a/game/src/Game/GameSession/GameSpeedPanel.gd b/game/src/Game/GameSession/GameSpeedPanel.gd
index 80708b1..6a4b4de 100644
--- a/game/src/Game/GameSession/GameSpeedPanel.gd
+++ b/game/src/Game/GameSession/GameSpeedPanel.gd
@@ -1,6 +1,7 @@
extends PanelContainer
-#UI-74 UI-75 UI-76 UI-77
+# REQUIREMENTS:
+# * SS-37, SS-38, SS-39
@export var _longform_date_button : Button
@export var _play_pause_display_button : Button
@@ -19,15 +20,20 @@ func _update_buttons():
_longform_date_button.text = GameSingleton.get_longform_date()
-
+# REQUIREMENTS:
+# * UIFUN-73
func _on_decrease_speed_button_pressed():
GameSingleton.decrease_speed()
_update_buttons()
+# REQUIREMENTS:
+# * UIFUN-72
func _on_increase_speed_button_pressed():
GameSingleton.increase_speed()
_update_buttons()
+# REQUIREMENTS:
+# * UIFUN-71
func _on_play_pause_display_button_pressed():
GameSingleton.toggle_paused()
_update_buttons()