galapagos
Class SpeedCommand

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

 class SpeedCommand
extends TurtleCommand


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

speed

private int speed
Constructor Detail

SpeedCommand

public SpeedCommand(Turtle owner,
                    int speed)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand