Files
nodewars/Gui.cs
2026-05-20 16:34:39 +02:00

14 lines
251 B
C#

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