Cleaned up project with better structure.

This commit is contained in:
2026-05-09 11:29:48 +02:00
parent 1ad3454f6a
commit 6708aa277f
95 changed files with 711 additions and 700 deletions
+24
View File
@@ -0,0 +1,24 @@
using Godot;
public partial class RobotDisplay : PanelContainer
{
[Export] public RichTextLabel listItem;
[Export] public RichTextLabel currentScript;
[Signal]
public delegate void OnRobotJumpToEventHandler(Robot robot);
public Robot robot;
public override void _Process(double delta)
{
string programName = robot.currentProgram ?? "";
if (programName != currentScript.Text)
{
currentScript.Text = programName;
}
}
public void OnJumpToClicked()
{
EmitSignal(SignalName.OnRobotJumpTo, robot);
}
}