Class SlowTurtle

java.lang.Object
  extended by SimpleTurtle
      extended by Turtle
          extended by SlowTurtle

public class SlowTurtle
extends Turtle


Constructor Summary
SlowTurtle(World w)
           
 
Method Summary
 void forward()
          Method to move the turtle foward 100 pixels
 void forward(int amount)
          Method to move the turtle forward the given number of pixels
static void main(java.lang.String[] args)
           
 
Methods inherited from class SimpleTurtle
backward, backward, clearPath, drawInfoString, drop, getBodyColor, getDistance, getHeading, getHeight, getInfoColor, getModelDisplay, getName, getPen, getPenColor, getPenWidth, getPicture, getShellColor, getShowInfo, getWidth, getXPos, getYPos, hide, isPenDown, isVisible, moveTo, paintComponent, penDown, penUp, setBodyColor, setColor, setHeading, setHeight, setInfoColor, setModelDisplay, setName, setPen, setPenColor, setPenDown, setPenWidth, setPicture, setShellColor, setShowInfo, setVisible, setWidth, show, toString, turn, turnLeft, turnRight, turnToFace, turnToFace, updateDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlowTurtle

public SlowTurtle(World w)
Method Detail

forward

public void forward()
Description copied from class: SimpleTurtle
Method to move the turtle foward 100 pixels

Overrides:
forward in class SimpleTurtle

forward

public void forward(int amount)
Description copied from class: SimpleTurtle
Method to move the turtle forward the given number of pixels

Overrides:
forward in class SimpleTurtle
Parameters:
amount - the number of pixels to walk forward in the heading direction

main

public static void main(java.lang.String[] args)