JOptionPane.ERROR_MESSAGE);
getCore().popScreen();
}
if (m instanceof StartGameMessage) {
StartGameMessage sgm = (StartGameMessage) m;
List<Integer> list = sgm.getPlayers();
for (int i = 0; i < list.size(); i++) {
playersOrder.put(list.get(i), i);
}
this.mapId = sgm.getMapID();
getCore().popScreen();
getCore().pushScreen(gamePanel);
gamePanel.getLoop().setPlayersOrder(playersOrder);
gamePanel.getLoop().setPlayers(players);