mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +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:
|
||||
gameBoard.reverseRobot(robotID);
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("Not a recognized action.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user