galapagos
Class PrintCommand

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

 class PrintCommand
extends TurtleCommand


Field Summary
private  java.lang.String text
           
 
Fields inherited from class galapagos.TurtleCommand
owner
 
Constructor Summary
PrintCommand(Turtle owner, java.lang.String text)
           
 
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

text

private java.lang.String text
Constructor Detail

PrintCommand

public PrintCommand(Turtle owner,
                    java.lang.String text)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand