This commit is contained in:
2026-05-14 13:17:23 +02:00
parent 37f4ea3b4e
commit 70bba45b8a
18 changed files with 293 additions and 71 deletions

13
Gui.cs Normal file
View File

@@ -0,0 +1,13 @@
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;
}
}