Added item stacking

This commit is contained in:
cblech
2025-04-17 16:10:12 +02:00
parent fb362e10ad
commit fb0c14c3f1
7 changed files with 119 additions and 32 deletions
@@ -7,12 +7,14 @@ public partial class SlotUi : Control
{
public Label nameLabel;
public int index;
public Label amountLabel;
[Signal] public delegate void ClickedEventHandler(int index);
public override void _EnterTree()
{
nameLabel = GetNode<Label>("NameLabel");
amountLabel = GetNode<Label>("AmountLabel");
}
public void _on_gui_input(InputEvent ev)