예제 #1
0
 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
예제 #2
0
 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