validateMinimum(playerBet, pressedBet) {
      var mainAction = playerBet.getBetAction();
      var pressAction = 0;
      if (pressedBet) {
        pressAction = pressedBet.getBetAction();
      }
      if (playerBet['bet']['isCenter'] && (mainAction + pressAction) < 1) {
        throw new GameMinimumError("The main bet does not cover the minimum for center action.");
      } else if (!playerBet['bet']['isCenter'] && (mainAction + pressAction) < this.lowLimit) {
        throw new GameMinimumError("The main bet does not cover the table minimum.");
      }
      return mainAction + pressAction;
    }
/*
     * Verify the minimum wager amount for the table is covered.
     * @param playerBet [PlayerBet] The bet a player wishes to make.
     * @param pressedBet [PlayerBet] A bet of this type and point already found where pressure could be added.
     * @return [Number] The value of the action for the bet.
     * @throws [GameMinimumError] The table minimum is not met.
     */
Verify the minimum wager amount for the table is covered.
@param playerBet [PlayerBet] The bet a player wishes to make.
@param pressedBet [PlayerBet] A bet of this type and point already found where pressure could be added.
@return [Number] The value of the action for the bet.
@throws [GameMinimumError] The table minimum is not met.
Verify the minimum wager amount for the table is covered . @param playerBet [ PlayerBet ] The bet a player wishes to make . @param pressedBet [ PlayerBet ] A bet of this type and point already found where pressure could be added . @return [ Number ] The value of the action for the bet . @throws [ GameMinimumError ] The table minimum is not met .
validateMinimum(playerBet, pressedBet) {
      var mainAction = playerBet.getBetAction();
      var pressAction = 0;
      if (pressedBet) {
        pressAction = pressedBet.getBetAction();
      }
      if (playerBet['bet']['isCenter'] && (mainAction + pressAction) < 1) {
        throw new GameMinimumError("The main bet does not cover the minimum for center action.");
      } else if (!playerBet['bet']['isCenter'] && (mainAction + pressAction) < this.lowLimit) {
        throw new GameMinimumError("The main bet does not cover the table minimum.");
      }
      return mainAction + pressAction;
    }
validateMinimum ( playerBet , pressedBet ) { var mainAction = playerBet . getBetAction ( ) ; var pressAction = 0 ; if ( pressedBet ) { pressAction = pressedBet . getBetAction ( ) ; } if ( playerBet [ 'bet' ] [ 'isCenter' ] && ( mainAction + pressAction ) < 1 ) { throw new GameMinimumError ( "The main bet does not cover the minimum for center action." ) ; } else if ( ! playerBet [ 'bet' ] [ 'isCenter' ] && ( mainAction + pressAction ) < this . lowLimit ) { throw new GameMinimumError ( "The main bet does not cover the table minimum." ) ; } return mainAction + pressAction ; }
Verify the minimum wager amount for the table is covered.
Verify the minimum wager amount for the table is covered .