@@ -6,28 +6,28 @@ public ManyAnimals()
66 {
77 showSomeTurtles ();
88 }
9- //create container for Turtles HINT: Use ArrayList --#2.1
10- //create a window for many turtles HINT: Use MultiTurtlePanel --#1.1
9+ //Create a container to hold your turtles HINT: Use ArrayList --#2.1
10+ //Create a window to show your turtles HINT: Use MultiTurtlePanel --#1.1
1111 private void showSomeTurtles ()
1212 {
13- //show the panel --#1.2
14- //set the size to 100 --#5.4
15- //add three turtles HINT: FOR loop which 'does an action' --#2.2
16- //create a turtle --#2.4
17- //add the turtles to the container for turtles --#2.5
18- //repeat --#2.2
19- //add all turtles to the window HINT: Use a foreach loop --#3.1
20- //NOTE: must call addTurtle BEFORE calling other methods --#3.3
21- //add all turtles to the window --#3.4
22- //repeat --#3.2
23- //teleport all turtles on the window HINT: Use a FOR loop and ZERO --#4.1
24- //set the X position to i*100 + 350 --#4.3
25- //set the Y position to i*100 + 100 --#4.4
26- //repeat --#4.2
27- //set some values for all turtles HINT: Use a foreach loop --#5.1
28- //set the speed of all turtle's to 7 --#5.3
29- //have every turtle draw a star of the current size --#5.4
30- //repeat --#5.2
13+ //Show your panel --#1.2
14+ //Set the size to 100 --#5.4
15+ //Add your three turtles HINT: FOR loop which 'does an action' --#2.2
16+ //Create your turtle --#2.4
17+ //Add your turtles to your turtle container --#2.5
18+ //Repeat --#2.2
19+ //Add your turtles to your window HINT: Use a foreach loop --#3.1
20+ //Must call addTurtle BEFORE calling other methods --INFO
21+ //Add your turtles to your window --#3.3
22+ //Repeat --#3.2
23+ //Teleport your turtles around your window HINT: Use a FOR loop and ZERO --#4.1
24+ //Get your turtle's current position and then set the X position to i*100 + 350 --#4.3
25+ //Get your turtle's current position and then set the Y position to i*100 + 100 --#4.4
26+ //Repeat --#4.2
27+ //Set some values for your turtles HINT: Use a foreach loop --#5.1
28+ //Set the speed of your turtles to 7 --#5.3
29+ //Have every turtle draw a star of the current size --#5.4
30+ //Repeat --#5.2
3131 }
3232 public static void main (String [] args )
3333 {
0 commit comments