- Methoden überarbeitet
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user