Class Move
- java.lang.Object
-
- ch.unibas.informatik.jturtle.commands.Move
-
- All Implemented Interfaces:
TurtleCommand
public class Move extends java.lang.Object implements TurtleCommand
-
-
Constructor Summary
Constructors Constructor Description Move(long distance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDistance()voidinterpret(TurtleInterpreter interpreter)
-
-
-
Method Detail
-
getDistance
public long getDistance()
-
interpret
public void interpret(TurtleInterpreter interpreter)
- Specified by:
interpretin interfaceTurtleCommand
-
-