extends Control @onready var health_label: Label = $VBoxContainer/HBoxContainer/MarginContainer/health @onready var time: Label = $VBoxContainer/HBoxContainer/MarginContainer3/time @onready var crates: Label = $VBoxContainer/HBoxContainer/MarginContainer2/crates func _ready() -> void: pass func _process(delta: float) -> void: pass func update_health(damage:int, health:int): self.health_label.text = "health: " + str(health) func update_time(remaining_time: int): self.time.text = "time: " + str(remaining_time)