added turtle instruction set

This commit is contained in:
Djeeberjr 2022-04-13 21:40:33 +02:00
parent a5c023c78a
commit dffb493d4f

View File

@ -0,0 +1,17 @@
package lib.turtle;
import kernel.turtle.Types.InteractDirections;
import kernel.turtle.Types.TurtleSlot;
enum TurtleInstruction {
Forward;
Back;
Up;
Down;
TurnLeft;
TurnRight;
Dig(dir: InteractDirections);
Place(dir: InteractDirections);
PlacseSign(dir: InteractDirections, text: String);
Select(slot: TurtleSlot);
}