(WIP) Switch from previous DSL System (UI order based) to a new DSL System (node connection based) still in Progress.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
public class StartNode : ProgramNode
|
||||
{
|
||||
public StartNode()
|
||||
{
|
||||
DisplayText = "Start";
|
||||
}
|
||||
|
||||
public override NodeResult Execute(Robot robot, double delta)
|
||||
{
|
||||
return NodeResult.SUCCESS;
|
||||
}
|
||||
|
||||
public override ProgramNode Duplicate()
|
||||
{
|
||||
StartNode duplicate = new StartNode();
|
||||
return duplicate;
|
||||
}
|
||||
|
||||
public override string Save()
|
||||
{
|
||||
return $"Name: {DisplayText}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user