Files
nodewars/Gui.cs
2026-05-14 13:17:23 +02:00

14 lines
259 B
C#

using Godot;
using NodeWar.scripts;
public partial class Gui : Control
{
private Label _infoLabel;
public override void _Ready()
{
_infoLabel = GetNode<Label>("%InfoLabel");
EventBus.Instance.SelectionChanged += text => _infoLabel.Text = text;
}
}