First Commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
extends HBoxContainer
|
||||
@onready var life_label = $life_label
|
||||
|
||||
func _ready():
|
||||
life_label.text = str(3)
|
||||
|
||||
func update_life(health: int):
|
||||
life_label.text = "%d" % health
|
||||
Reference in New Issue
Block a user