Added robot display to map logic, now need to add the color for it.

This commit is contained in:
2026-05-14 20:50:41 +02:00
parent c6cb2cc00e
commit 6084761e0d
4 changed files with 28 additions and 0 deletions
+6
View File
@@ -43,6 +43,12 @@ public partial class CodingWindow : PanelContainer
}
}
public void OnMapToggled(bool toggledOn)
{
if(robot == null) return;
robot.showOnMap = toggledOn;
}
public void OnNodeSelect(NodeDisplay node)
{
selectedNode = node;