galapagos
Class OrientationCommand

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

 class OrientationCommand
extends TurtleCommand


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

orientation

private double orientation
Constructor Detail

OrientationCommand

public OrientationCommand(Turtle owner,
                          double orientation)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand