From 63e4f75e9292e1276cc0b5d11ebad010f147aa68 Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 4 Nov 2025 12:54:13 -0300 Subject: Display de andar --- scripts/GUI/Hud.cs | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'scripts/GUI/Hud.cs') diff --git a/scripts/GUI/Hud.cs b/scripts/GUI/Hud.cs index a1511b8..60e1e91 100644 --- a/scripts/GUI/Hud.cs +++ b/scripts/GUI/Hud.cs @@ -1,5 +1,6 @@ using System.Runtime.InteropServices; using Godot; +using TheLegendOfGustav.Utils; namespace TheLegendOfGustav.GUI; @@ -7,12 +8,25 @@ public partial class Hud : CanvasLayer { private TextureProgressBar hpBar; private TextureProgressBar mpBar; + private Label floorLabel; public override void _Ready() { base._Ready(); - hpBar = GetNode("VBoxContainer/InfoBar/Stats/MarginContainer/HBoxContainer/AspectRatioContainer/HPbar"); - mpBar = GetNode("VBoxContainer/InfoBar/Stats/MarginContainer/HBoxContainer/AspectRatioContainer2/MPbar"); + hpBar = GetNode("VBoxContainer/InfoBar/Stats/MarginContainer/VBoxContainer/HBoxContainer/AspectRatioContainer/HPbar"); + mpBar = GetNode("VBoxContainer/InfoBar/Stats/MarginContainer/VBoxContainer/HBoxContainer/AspectRatioContainer/HPbar"); + floorLabel = GetNode