galapagos
Class JumpToCommand

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

 class JumpToCommand
extends TurtleCommand


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

JumpToCommand

public JumpToCommand(Turtle owner,
                     Position position)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand