TurtleGraphics
Class CommandSetColor

java.lang.Object
  extended by TurtleGraphics.Command
      extended by TurtleGraphics.CommandSetColor

public class CommandSetColor
extends Command

Copyright 2006 by Ken Lambert and Martin Osborne.


Constructor Summary
CommandSetColor(java.awt.Color c)
           
 
Method Summary
 void doCommand(java.awt.Graphics2D g, int width, int height)
           
 
Methods inherited from class TurtleGraphics.Command
adjustX, adjustY, round
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandSetColor

public CommandSetColor(java.awt.Color c)
Method Detail

doCommand

public void doCommand(java.awt.Graphics2D g,
                      int width,
                      int height)
Specified by:
doCommand in class Command