Added new nodes to DSL for a wider variety of commands and scripts.

This commit is contained in:
2026-05-09 20:12:53 +02:00
parent 8b15027ac1
commit a472adf74b
26 changed files with 797 additions and 21 deletions
+32
View File
@@ -0,0 +1,32 @@
using Godot;
public class UntilNode : ProgramNode
{
public UntilNode()
{
DisplayText = "Until";
}
public override NodeResult Execute(Robot robot, double delta)
{
return NodeResult.SUCCESS;
}
public override void ReadParameters(NodeDisplay display)
{
}
public override ProgramNode Duplicate()
{
UntilNode duplicate = new UntilNode();
return duplicate;
}
public override void Setup(NodeDisplay display)
{
}
public override string Save()
{
return $"Name: {DisplayText}";
}
}