mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-07-13 02:53:48 +00:00
refactor(*): Make hud more performant and maintainable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user