Game #23

Merged
schrom01 merged 43 commits from Game into main 2022-03-20 16:56:34 +01:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit 833b122d2b - Show all commits

View File

@ -59,7 +59,6 @@ public class Game implements GameSpecification {
break; break;
case 3: case 3:
String path = ".\\moves\\" + selectedTrack.getName().split("\\.")[0] + "-car-" + track.getCar(i).getID() + ".txt"; String path = ".\\moves\\" + selectedTrack.getName().split("\\.")[0] + "-car-" + track.getCar(i).getID() + ".txt";
System.out.println(path);
try { try {
MoveStrategy moveStrategy = new MoveListStrategy(path); MoveStrategy moveStrategy = new MoveListStrategy(path);
track.getCar(i).setMoveStrategy(moveStrategy); track.getCar(i).setMoveStrategy(moveStrategy);