Code Cleanup
This commit is contained in:
1 parent
e2c6b5cb49
commit
70a2179cce
2 files changed
+5
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
(X:28, Y:22)
|
||||
(X:31, Y:22)
|
||||
(X:34, Y:22)
|
||||
(X:37, Y:22)
|
||||
(X:40, Y:22)
|
||||
(X:43, Y:22)
|
||||
(X:46, Y:21)
|
||||
|
||||
@@ -94,7 +94,7 @@ public class Game implements GameSpecification {
|
||||
}
|
||||
if(selectedFile != null){
|
||||
try {
|
||||
moveStrategy = new PathFollowerMoveStrategy(selectedFile, track.getCarPos(currentCarIndex));
|
||||
moveStrategy = new PathFollowerMoveStrategy(selectedFile, track.getCarPos(i));
|
||||
} catch (FileNotFoundException e) {
|
||||
userInterface.printInformation("There is no Point-List implemented. Choose another Strategy!");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user