587588589590591592593594595596597
try { GamePane gamePane = new GamePane(); desktopPane.add(gamePane, JLayeredPane.DEFAULT_LAYER); gamePane.setMaximum(true); gamePane.setVisible(true); gamePane.showGame(gameId, playerId); setActive(gamePane); } catch (PropertyVetoException ex) { } }
3233343536373839404142
case 'p': // Retour au jeu if(window.isPauseStatus()) { window.hidePause(); window.showGame(); Game.getInstance().setRunning(true); Game.getInstance().start(); } // Mise en pause