extends Control @onready var health = $VBoxContainer/HBoxContainer/MarginContainer/Health @onready var timer = $VBoxContainer/HBoxContainer/MarginContainer2/Timer @onready var coins = $VBoxContainer/HBoxContainer/MarginContainer3/Coins # Called when the node enters the scene tree for the first time. func _ready(): pass func healthUpdate(healthRemaining): health.text = "Health: "+str(healthRemaining) func timerUpdate(timeRemaining): timer.text= str(timeRemaining) func coinsUpdate(coinsRemaining, startingCoins): coins.text="coins: "+str(coinsRemaining)+"/"+str(startingCoins)