galapagos
Class TurnCommand

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

 class TurnCommand
extends TurtleCommand


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

degree

private double degree
Constructor Detail

TurnCommand

public TurnCommand(Turtle owner,
                   double degree)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand