11 lines
297 B
GDScript
11 lines
297 B
GDScript
extends Control
|
|
@onready var health: Label = $VBoxContainer/HBoxContainer/MarginContainer/Health
|
|
@onready var coins: Label = $VBoxContainer/HBoxContainer/MarginContainer2/Coins
|
|
|
|
|
|
func healthUpdate(amt):
|
|
health.text = "Health : "+str(amt)
|
|
|
|
func coinsUpdate(amt):
|
|
coins.text = "Coins : "+str(amt)
|