finished methods getCarPosition, getCarVelocity and get CarID

This commit is contained in:
Leonardo Brandenberger 2022-03-10 15:33:20 +01:00
parent 57a5d199a6
commit ddbf666cc8
1 changed files with 3 additions and 6 deletions

View File

@ -53,8 +53,7 @@ public class Game implements GameSpecification {
*/ */
@Override @Override
public char getCarId(int carIndex) { public char getCarId(int carIndex) {
// TODO: implementation return track.getCarId(carIndex);
throw new UnsupportedOperationException();
} }
/** /**
@ -64,8 +63,7 @@ public class Game implements GameSpecification {
*/ */
@Override @Override
public PositionVector getCarPosition(int carIndex) { public PositionVector getCarPosition(int carIndex) {
// TODO: implementation return track.getCarPos(carIndex);
throw new UnsupportedOperationException();
} }
/** /**
@ -75,8 +73,7 @@ public class Game implements GameSpecification {
*/ */
@Override @Override
public PositionVector getCarVelocity(int carIndex) { public PositionVector getCarVelocity(int carIndex) {
// TODO: implementation return track.getCarVelocity(carIndex);
throw new UnsupportedOperationException();
} }
/** /**