Files
RuinAdventurer/Scripts/DSL/Nodes/HarvestNode.cs
T

21 lines
365 B
C#

using Godot;
public class HarvestNode : ProgramNode
{
public HarvestNode()
{
DisplayText = "Harvest";
}
public override bool Execute(Robot robot)
{
GD.Print("Harvest");
if (nextNode != null)
{
return nextNode.Execute(robot);
}
else
{
return true;
}
}
}