/** * Goes to next players turn more robust than incrementTurn * * @throws IOException exception */ public static void next() throws IOException { Util.incrementTurn(); Player cp = Configurations.getCurPlayer(); cp.moveTo(cp.getStartX(), cp.getStartY()); if (cp.getPhase() != 0) { Configurations.getGameScreenController().removePlayerFromTown(cp); cp.setPhase(0); } Configurations.getGuiController().setScene(Configurations.getGameScreenController().getView()); }