A C D E G I L M O P R S T U V

A

Alternator - class Alternator.
 
Alternator(Color, Color) - Constructor for class Alternator
 
Artist - class Artist.
 
Artist() - Constructor for class Artist
 
Assignment2 - class Assignment2.
 
Assignment2() - Constructor for class Assignment2
 
appletResize(int, int) - Method in class TurtlesApp
 

C

Controller - class Controller.
 
Controller() - Constructor for class Controller
 
cross() - Method in class Artist
 
cross(int) - Method in class Artist
 
current - Variable in class Alternator
 

D

DeadTurtleException - exception DeadTurtleException.
A DeadTurtleException is thrown whenever you try to give a command to a turtle that is dead.
DeadTurtleException(String) - Constructor for class DeadTurtleException
 
die() - Method in class Turtle
Remove this turtle from the canvas.
done() - Method in class Plotter
 
done() - Method in class Turtle
Most of the Turtle routines count as a single step of the program.

E

erase() - Method in class View
 

G

getAppletContext() - Method in class TurtlesApp
 
getCodeBase() - Method in class TurtlesApp
 
getColor() - Method in class Turtle
Return the current pen color of this turtle.
getDocumentBase() - Method in class TurtlesApp
 
getParameter(String) - Method in class TurtlesApp
 

I

init() - Method in class Turtles
 
isAlive() - Method in class Turtle
Check whether this turtle is alive.
isPenDown() - Method in class Turtle
Check whether this turtle's pen is down.

L

lt(double) - Method in class Plotter
 
lt(double) - Method in class Turtle
Make a left turn.
lt() - Method in class Turtle
Make a 90° left turn.

M

MysteryTurtle - class MysteryTurtle.
 
MysteryTurtle() - Constructor for class MysteryTurtle
 
main(String[]) - Static method in class TurtlesApp
 
move(double) - Method in class Alternator
 
move(double) - Method in class Plotter
 
move(double) - Method in class Turtle
Ask the turtle to move forward the specified distance along its current heading.
move() - Method in class Turtle
Move forward one unit.
mystery1(int) - Method in class MysteryTurtle
 
mystery2(double) - Method in class MysteryTurtle
 
mystery3(double) - Method in class MysteryTurtle
 
mystery4(double) - Method in class MysteryTurtle
 

O

other - Variable in class Alternator
 

P

Plotter - class Plotter.
 
Plotter() - Constructor for class Plotter
 
part1() - Static method in class Assignment2
 
part2() - Static method in class Assignment2
 
part3() - Static method in class Assignment2
 
penDown() - Method in class Turtle
Put this turtle's pen down.
penUp() - Method in class Turtle
Raise this turtle's pen.
plot(double, double) - Method in class Plotter
 
polygon(int) - Method in class Artist
 
polygons(int) - Method in class Artist
 

R

rightTriangle() - Method in class Artist
 
rt(double) - Method in class Plotter
 
rt(double) - Method in class Turtle
Make a right turn.
rt() - Method in class Turtle
Make a 90° right turn.
run() - Method in class Controller
 
runOld() - Method in class Controller
 

S

setColor(Color) - Method in class Turtle
Set the color of this turtle's pen.
setScale(double) - Method in class View
 
square() - Method in class Artist
 
square(double) - Method in class Artist
 
start() - Method in class Turtles
 

T

Turtle - class Turtle.
 
Turtle() - Constructor for class Turtle
Create a new turtle that is located at the center of the screen, facing up, has its pen down, and is drawing in black.
Turtles - class Turtles.
 
Turtles() - Constructor for class Turtles
 
TurtlesApp - class TurtlesApp.
 
triangle() - Method in class Artist
 
triangle(double, Color) - Method in class Artist
 

U

update(Graphics) - Method in class View
 

V

View - class View.
 
View() - Constructor for class View
 

A C D E G I L M O P R S T U V