mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-02-01 07:39:35 +01:00
Adds default label to RoboRallyGame::makeMove switch.
This commit is contained in:
parent
a86b4efbb7
commit
8d9a85946e
@ -165,6 +165,8 @@ public class RoboRallyGame implements IDrawableGame {
|
|||||||
case BACK_UP:
|
case BACK_UP:
|
||||||
gameBoard.reverseRobot(robotID);
|
gameBoard.reverseRobot(robotID);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
throw new IllegalArgumentException("Not a recognized action.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user