Merge remote-tracking branch 'origin/track-feature' into Game

This commit is contained in:
Leonardo Brandenberger
2022-03-10 15:36:00 +01:00
4 changed files with 280 additions and 20 deletions
@@ -145,6 +145,8 @@ public class Game implements GameSpecification {
throw new UnsupportedOperationException();
}
/**
* Does indicate if a car would have a crash with a WALL space or another car at the given position.
* @param carIndex The zero-based carIndex number
@@ -153,7 +155,8 @@ public class Game implements GameSpecification {
*/
@Override
public boolean willCarCrash(int carIndex, PositionVector position) {
// TODO: implementation
throw new UnsupportedOperationException();
return true;
}
}