File tree Expand file tree Collapse file tree
src/org/teachingkidsprogramming/recipes/completed Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<classpath >
33 <classpathentry kind =" src" path =" src" />
4- <classpathentry kind =" src" path =" PrintThis" />
54 <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER" />
65 <classpathentry kind =" con" path =" org.eclipse.jdt.junit.JUNIT_CONTAINER/4" />
76 <classpathentry combineaccessrules =" false" kind =" src" path =" /ApprovalTests" />
Original file line number Diff line number Diff line change 11package org .teachingkidsprogramming .recipes .completed ;
22
3- import org .teachingextensions .logo .Colors ;
3+ import org .teachingextensions .logo .PenColors ;
44import org .teachingextensions .logo .Tortoise ;
55
66public class SimpleSquare
@@ -15,7 +15,7 @@ public static void main(String[] args) throws Exception
1515 for (int i = 1 ; i <= 4 ; i ++)
1616 {
1717 // Change the color of the line the tortoise draws to "blue" --#4
18- Tortoise .setPenColor (Colors .Blues .Blue );
18+ Tortoise .setPenColor (PenColors .Blues .Blue );
1919 // Move the tortoise 50 pixels --#2
2020 Tortoise .move (50 );
2121 // Turn the tortoise to the right (90 degrees) --#3
You can’t perform that action at this time.
0 commit comments