Added basic components for DSL. Working on functionality next.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Godot;
|
||||
|
||||
public class HarvestNode : ProgramNode
|
||||
{
|
||||
public HarvestNode()
|
||||
{
|
||||
DisplayText = "Harvest";
|
||||
}
|
||||
public override void Execute(Robot robot)
|
||||
{
|
||||
GD.Print("Harvest");
|
||||
nextNode.Execute(robot);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user