createInstruction method

  1. @override
List<Instruction> createInstruction(
  1. TurtleState turtle,
  2. Map argv
)
override

Creates instructions.

Implementation

@override
List<Instruction> createInstruction(TurtleState turtle, Map argv) {
  turtle.degrees -= degrees(Map.of(argv));
  return [];
}