From 0456e7cd82b232a38fd9b6e008be7d49b2f9e90f Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 1 Sep 2025 17:50:25 -0300 Subject: Logs --- scripts/UI.cs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 scripts/UI.cs (limited to 'scripts/UI.cs') diff --git a/scripts/UI.cs b/scripts/UI.cs deleted file mode 100644 index 781c14a..0000000 --- a/scripts/UI.cs +++ /dev/null @@ -1,17 +0,0 @@ -using Godot; -using System; - -public partial class UI : Node -{ - private TextureProgressBar hpBar; - - public override void _Ready() { - base._Ready(); - hpBar = GetNode("CanvasLayer/MainContainer/HPbar"); - } - - public void OnHealthChanged(int hp, int maxHp) { - hpBar.Value = hp; - hpBar.MaxValue = maxHp; - } -} -- cgit v1.2.3