galapagos
Class PositionCommand

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

 class PositionCommand
extends TurtleCommand


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

position

private Position position
Constructor Detail

PositionCommand

public PositionCommand(Turtle owner,
                       Position position)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand