Browse Source

Final Change

Brandon Defrancis 6 years ago
parent
commit
61c10ba934
2 changed files with 7 additions and 8 deletions
  1. 3
    4
      WriteLoops.java
  2. 4
    4
      package.bluej

+ 3
- 4
WriteLoops.java View File

@@ -159,9 +159,7 @@ public class WriteLoops {
159 159
 
160 160
         // you need to use a .equals for two Strings.
161 161
         while (!gpsCurrentLocation().equals("Home")){
162
-            driveSomeMore();
163
-            
164
-        
162
+            driveSomeMore();        
165 163
             // calling
166 164
             w = w + 1;
167 165
             // each time through the inner loop
@@ -205,7 +203,8 @@ public class WriteLoops {
205 203
         int runningScore = 0;
206 204
 
207 205
         // do your while loop here
208
-        do { runningScore = currentScore + runningScore;
206
+        do { 
207
+            runningScore = currentScore + runningScore;
209 208
             w = w + 1;
210 209
             currentScore = gameNextScore();
211 210
             

+ 4
- 4
package.bluej View File

@@ -7,16 +7,16 @@ dependency2.to=WriteIFs
7 7
 dependency2.type=UsesDependency
8 8
 editor.fx.0.height=722
9 9
 editor.fx.0.width=800
10
-editor.fx.0.x=692
11
-editor.fx.0.y=-936
10
+editor.fx.0.x=320
11
+editor.fx.0.y=58
12 12
 objectbench.height=109
13 13
 objectbench.width=605
14 14
 package.divider.horizontal=0.6
15 15
 package.divider.vertical=0.8491547464239272
16 16
 package.editor.height=646
17 17
 package.editor.width=503
18
-package.editor.x=-16
19
-package.editor.y=-946
18
+package.editor.x=10
19
+package.editor.y=23
20 20
 package.frame.height=827
21 21
 package.frame.width=629
22 22
 package.numDependencies=2