Package turtle
Interface Turtle
- All Known Implementing Classes:
DrawableTurtle
public interface Turtle
-
Method Summary
Modifier and Type Method Description void
color(PenColor color)
Change the turtle's current pen color.void
draw()
Draw the image created by this turtle.void
forward(int units)
Move the turtle forward a number of steps.void
turn(double degrees)
Change the turtle's heading by a number of degrees clockwise.