extends Control @onready var health: Label = $VBoxContainer/HBoxContainer/MarginContainer/health @onready var time: Label = $VBoxContainer/HBoxContainer/MarginContainer2/time # Called when the node enters the scene tree for the first time. func _ready() -> void: pass # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass func upDateHealth(_damage,_health)->void: health.text = "HEALTH: "+str(_health) func updateTime(timeAvailable)->void: time.text = str(timeAvailable)