connections

This commit is contained in:
2026-05-20 16:34:39 +02:00
parent 70bba45b8a
commit 661e62e8b8
35 changed files with 1039 additions and 258 deletions

6
Gui.cs
View File

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