galapagos
Class PenColorCommand

java.lang.Object
  extended by galapagos.TurtleCommand
      extended by galapagos.PenColorCommand

 class PenColorCommand
extends TurtleCommand


Field Summary
private  java.awt.Color color
           
 
Fields inherited from class galapagos.TurtleCommand
owner
 
Constructor Summary
PenColorCommand(Turtle owner, java.awt.Color color)
           
 
Method Summary
(package private)  void execute()
           
 
Methods inherited from class galapagos.TurtleCommand
addOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

private java.awt.Color color
Constructor Detail

PenColorCommand

public PenColorCommand(Turtle owner,
                       java.awt.Color color)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand