using Godot; using System; using TheLegendOfGustav.Magic; namespace TheLegendOfGustav.GUI; public partial class SpellMenuEntry : HBoxContainer { private TextureRect icon; private Label shortcutLabel; private Label nameLabel; private Button castBtn; private SpellResource spell; [Signal] public delegate void CastEventHandler(SpellResource Item); public override void _Ready() { base._Ready(); icon = GetNode("Icon"); shortcutLabel = GetNode