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