using Godot; using System; using System.Collections.Generic; using System.Linq; using Cirno.Scripts; using Cirno.Scripts.Resources; public partial class Hud : CanvasLayer { [Signal] public delegate void StartGameEventHandler(); //private Label _healthLabel; [Export] public PackedScene SelectorScene { get; set; } [Export] private Node2D _selector; [Export] private Label _healthLabel; [Export] private ProgressBar _healthBar; [Export] private Label _shieldLabel; [Export] private ProgressBar _shieldBar; [Export] private Container _itemsContainer; [Export] private LabelSettings _labelSettings; private Dictionary _items = new(); public override void _Ready() { // Assuming the HUD has a Label node named "HealthLabel" //_healthLabel = GetNode