private void btnRightActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_btnRightActionPerformed this.selected = true; if (connectedDialog != null) { connectedDialog.hideDialog(); } if (mode == FeedbackMode.SELECT && (evt.getModifiers() & ActionEvent.CTRL_MASK) == ActionEvent.CTRL_MASK) { session.sendPlayerInteger(gameId, 0); } else if (mode == FeedbackMode.END) { MageFrame.getGame(gameId).hideGame(); } else { session.sendPlayerBoolean(gameId, false); } // AudioManager.playButtonOk(); } // GEN-LAST:event_btnRightActionPerformed
private void btnUndoActionPerformed(java.awt.event.ActionEvent evt) { session.undo(gameId); }
private void btnSpecialActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_btnSpecialActionPerformed session.sendPlayerString(gameId, "special"); } // GEN-LAST:event_btnSpecialActionPerformed
private void btnLeftActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_btnLeftActionPerformed this.selected = true; session.sendPlayerBoolean(gameId, true); AudioManager.playButtonCancel(); } // GEN-LAST:event_btnLeftActionPerformed