galapagos
Class PenStateCommand

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

 class PenStateCommand
extends TurtleCommand


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

state

private int state
Constructor Detail

PenStateCommand

public PenStateCommand(Turtle owner,
                       int state)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand