constructor
index
 
Name Turtle ()
Description Creates a new Turtle object. Turtles should be created inside a JPanel class.
Syntax Turtle(jPanel);
Parameters
jPanel  the JPanel the turtle resides on (JPanel)
Returns None
Related None
Example

    Turtle t = new Turtle(this);  //the current JPanel class is passed in as "this"
    t.forward(100);
    t.drawPath(g);