galapagos
Class DrawTextCommand

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

 class DrawTextCommand
extends TurtleCommand


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

text

private java.lang.String text

position

private Position position
Constructor Detail

DrawTextCommand

public DrawTextCommand(Turtle owner,
                       java.lang.String text,
                       Position position)
Method Detail

execute

void execute()
Specified by:
execute in class TurtleCommand