Class PenColor
- java.lang.Object
-
- ch.unibas.informatik.jturtle.commands.PenColor
-
- All Implemented Interfaces:
TurtleCommand
public class PenColor extends java.lang.Object implements TurtleCommand
-
-
Constructor Summary
Constructors Constructor Description PenColor(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
-
-