galapagos
Class MoveCommand

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

 class MoveCommand
extends TurtleCommand


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

length

private double length
Constructor Detail

MoveCommand

public MoveCommand(Turtle owner,
                   double length)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand