Legger til en manglende (ikke-kritisk) break; og fjerner en ubrukt importering

This commit is contained in:
Kristian Knarvik 2020-04-20 13:20:40 +02:00
parent a55564b38c
commit 8df8432f62
2 changed files with 2 additions and 4 deletions

View File

@ -66,9 +66,8 @@ public class LoadingScreen extends AbstractScreen {
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getCardChoiceScreen(this.roboRallyWrapper)); roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getCardChoiceScreen(this.roboRallyWrapper));
break; break;
default: default:
if (gameState != GameState.LOADING) { System.out.println("The loading screen doesn't know what to do with " + gameState);
System.out.println("Don't know what to do with " + gameState); break;
}
} }
} }

View File

@ -5,7 +5,6 @@ import inf112.fiasko.roborally.elementproperties.GameState;
import inf112.fiasko.roborally.elementproperties.Position; import inf112.fiasko.roborally.elementproperties.Position;
import inf112.fiasko.roborally.elementproperties.RobotID; import inf112.fiasko.roborally.elementproperties.RobotID;
import inf112.fiasko.roborally.elementproperties.TileType; import inf112.fiasko.roborally.elementproperties.TileType;
import inf112.fiasko.roborally.networking.RoboRallyClient;
import inf112.fiasko.roborally.networking.RoboRallyServer; import inf112.fiasko.roborally.networking.RoboRallyServer;
import inf112.fiasko.roborally.networking.containers.PowerDownContainer; import inf112.fiasko.roborally.networking.containers.PowerDownContainer;
import inf112.fiasko.roborally.networking.containers.ProgamsContainer; import inf112.fiasko.roborally.networking.containers.ProgamsContainer;