- Methoden überarbeitet

This commit is contained in:
Andrin Fassbind
2022-03-10 14:35:33 +01:00
parent 15123b05bb
commit befc67f4f0
3 changed files with 53 additions and 13 deletions
@@ -127,6 +127,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
@@ -135,7 +137,8 @@ public class Game implements GameSpecification {
*/
@Override
public boolean willCarCrash(int carIndex, PositionVector position) {
// TODO: implementation
throw new UnsupportedOperationException();
return true;
}
}