drawTurtle
index
Name
drawTurtle ()
Description
Draw the turtle (a small blue triangle) to the screen. Makes Turtle's location and heading visible.
Syntax
drawTurtle(g);
Parameters
g
the graphics object to draw on
(
Graphics
)
Returns
None
Example
Turtle t = new Turtle(this); t.forward(100); t.right(45); t.drawTurtle(g);