edu.fcps
Class Turtle

java.lang.Object
  extended by edu.fcps.Turtle
Direct Known Subclasses:
FlowerTurtle, FlowerTurtle2, PolygonTurtle, SquareTurtle, TwistyTurtle, TwistyTurtle2, TwistyTurtle3, TwistyTurtle4

public abstract class Turtle
extends java.lang.Object


Constructor Summary
Turtle()
           
Turtle(double x, double y, double heading)
           
 
Method Summary
 void back(double amount)
           
static void clear()
           
static void clear(java.awt.Color c)
clears the screen and sets the background color to c

           
static void createFrame()
           
static javax.swing.JPanel createPanel()
           
abstract  void drawShape()
           
 void forward(double amount)
           
 java.awt.Color getColor()
           
static java.awt.Image getImage()
           
 void setColor(java.awt.Color c)
           
 void setColor(int n)
           
static void setCrawl(boolean b)
           
 void setPenDown(boolean x)
           
static void setSpeed(int x)
           
 void setThickness(int x)
           
 void turnLeft(double degrees)
           
 void turnRight(double degrees)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Turtle

public Turtle(double x,
              double y,
              double heading)

Turtle

public Turtle()
Method Detail

setCrawl

public static void setCrawl(boolean b)

setSpeed

public static void setSpeed(int x)

clear

public static void clear(java.awt.Color c)

clear

public static void clear()

setThickness

public void setThickness(int x)

forward

public void forward(double amount)

back

public void back(double amount)

turnRight

public void turnRight(double degrees)

turnLeft

public void turnLeft(double degrees)

getColor

public java.awt.Color getColor()

setColor

public void setColor(java.awt.Color c)

setColor

public void setColor(int n)

setPenDown

public void setPenDown(boolean x)

drawShape

public abstract void drawShape()

getImage

public static java.awt.Image getImage()

createPanel

public static javax.swing.JPanel createPanel()

createFrame

public static void createFrame()