Class PolygonTurtle

java.lang.Object
  extended by edu.fcps.Turtle
      extended by PolygonTurtle

public class PolygonTurtle
extends edu.fcps.Turtle


Constructor Summary
PolygonTurtle()
           
PolygonTurtle(double x, double y, double h, double n, int s)
           
PolygonTurtle(double n, int s)
           
 
Method Summary
 void drawShape()
           
 void drawShape(int s)
           
 void setSides(int s)
           
 void setSize(double n)
           
 
Methods inherited from class edu.fcps.Turtle
back, clear, clear, createFrame, createPanel, forward, getColor, getImage, setColor, setColor, setCrawl, setPenDown, setSpeed, setThickness, turnLeft, turnRight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolygonTurtle

public PolygonTurtle()

PolygonTurtle

public PolygonTurtle(double n,
                     int s)

PolygonTurtle

public PolygonTurtle(double x,
                     double y,
                     double h,
                     double n,
                     int s)
Method Detail

setSize

public void setSize(double n)

setSides

public void setSides(int s)

drawShape

public void drawShape()
Specified by:
drawShape in class edu.fcps.Turtle

drawShape

public void drawShape(int s)