galapagos
Class PenSizeCommand

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

 class PenSizeCommand
extends TurtleCommand


Field Summary
private  float size
           
 
Fields inherited from class galapagos.TurtleCommand
owner
 
Constructor Summary
PenSizeCommand(Turtle owner, float size)
           
 
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

size

private float size
Constructor Detail

PenSizeCommand

public PenSizeCommand(Turtle owner,
                      float size)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand