1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
This commit is contained in:
2025-08-26 09:24:09 +08:00
commit 363aeaf445
25 changed files with 700 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
extends Node2D
@export var entity: EntityBase
@onready var healthBar = $"%health"
func _process(_delta):
if entity:
healthBar.maxValue = entity.maxHealth
healthBar.setCurrent(entity.health)