Class PenColorCommand
- java.lang.Object
-
- ch.unibas.informatik.jturtle.commands.PenColorCommand
-
- All Implemented Interfaces:
TurtleCommand
public class PenColorCommand extends java.lang.Object implements TurtleCommand
-
-
Constructor Summary
Constructors Constructor Description PenColorCommand(java.awt.Color penColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetPenColor()voidinterpret(TurtleInterpreter interpreter)
-
-
-
Method Detail
-
getPenColor
public java.awt.Color getPenColor()
-
interpret
public void interpret(TurtleInterpreter interpreter)
- Specified by:
interpretin interfaceTurtleCommand
-
-