summaryrefslogtreecommitdiff
path: root/scripts/UI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/UI.cs')
-rw-r--r--scripts/UI.cs17
1 files changed, 0 insertions, 17 deletions
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<TextureProgressBar>("CanvasLayer/MainContainer/HPbar");
- }
-
- public void OnHealthChanged(int hp, int maxHp) {
- hpBar.Value = hp;
- hpBar.MaxValue = maxHp;
- }
-}