Пример #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 btnUndoActionPerformed(java.awt.event.ActionEvent evt) {
   session.undo(gameId);
 }
Пример #3
0
 private void btnSpecialActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_btnSpecialActionPerformed
   session.sendPlayerString(gameId, "special");
 } // GEN-LAST:event_btnSpecialActionPerformed
Пример #4
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