refactor gametest

This commit is contained in:
Andrin Fassbind
2022-03-24 18:33:29 +01:00
parent badec0d16f
commit 95ef0b9d76
3 changed files with 5 additions and 6 deletions
@@ -290,7 +290,6 @@ public class Game implements GameSpecification {
* If the car is passing the finishline in the correct direction, the car will gain a winpoint.
* @param start the startposition of the car
* @param finish the expected finishpositon of the car after the move
* @param carIndex of the current player.
*/
private void calculateWinner(PositionVector start, PositionVector finish, int carIndex) {
List<PositionVector> path = calculatePath(start, finish);
@@ -284,7 +284,7 @@ public class Track implements TrackSpecification {
}
}
return null;
return ConfigSpecification.SpaceType.WALL;
}
/**