Adds default label to RoboRallyGame::makeMove switch.

This commit is contained in:
torlunjen 2020-03-10 18:26:16 +01:00
parent a86b4efbb7
commit 8d9a85946e

View File

@ -165,6 +165,8 @@ public class RoboRallyGame implements IDrawableGame {
case BACK_UP:
gameBoard.reverseRobot(robotID);
break;
default:
throw new IllegalArgumentException("Not a recognized action.");
}
}