- toString() - Method in class cse1030.drawing.IPoint2D
-
Returns a string containing the coordinates of the point separated by
a space and a comma and inside round brackets.
- toString() - Method in class cse1030.drawing.Turtle
-
Returns a string representation of the object.
- turnLeft() - Method in class cse1030.drawing.Turtle
-
Changes the direction that the turtle is facing in by turning the turtle 90
degrees to its left.
- turnRight() - Method in class cse1030.drawing.Turtle
-
Changes the direction that the turtle is facing in by turning the turtle 90
degrees to its right.
- Turtle - Class in cse1030.drawing
-
A class that supports turtle graphics.
- Turtle() - Constructor for class cse1030.drawing.Turtle
-
Construct a turtle located at coordinates (0, 0) and facing towards the
right.
- Turtle(IPoint2D, Color) - Constructor for class cse1030.drawing.Turtle
-
Construct a turtle located at the given coordinates, facing towards the
right, using the given pen color to draw with.
- Turtle(Turtle) - Constructor for class cse1030.drawing.Turtle
-
Construct a copy of another turtle.