refactor(*): Make hud more performant and maintainable

This commit is contained in:
Josh Creek
2025-07-16 19:19:58 +01:00
parent 9ed5afa092
commit 35a23f79e3
8 changed files with 264 additions and 108 deletions
+3
View File
@@ -4,6 +4,9 @@ extends Node3D
signal timer_updated(minutes: int, seconds: int)
func _ready():
# Add to group for discovery by HUD
add_to_group("game")
# Set timer to 2 minutes 30 seconds (150 seconds)
game_timer.wait_time = 150.0
game_timer.one_shot = true # Timer runs once