galapagos
Class PlotCommand

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

 class PlotCommand
extends TurtleCommand


Field Summary
private  java.awt.Color penColor
           
private  double penSize
           
private  int penState
           
private  Position target
           
 
Fields inherited from class galapagos.TurtleCommand
owner
 
Constructor Summary
PlotCommand(Turtle owner, Position target, int penState, java.awt.Color penColor, double penSize)
           
 
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

target

private Position target

penState

private int penState

penColor

private java.awt.Color penColor

penSize

private double penSize
Constructor Detail

PlotCommand

public PlotCommand(Turtle owner,
                   Position target,
                   int penState,
                   java.awt.Color penColor,
                   double penSize)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand