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

26 lines
442 B
C#

using Godot;
public class CraftNode : ProgramNode
{
public CraftNode()
{
DisplayText = "Craft";
}
public override bool Execute(Robot robot)
{
GD.Print("Craft");
if (nextNode != null)
{
return nextNode.Execute(robot);
}
else
{
return true;
}
}
public override void ReadParameters(NodeDisplay display)
{
//
}
}