pointMarked(pointValue) {
      var validPointFound = false;
      var betValidPoints = [4, 6, 8, 10];
      for (var x=0; x<betValidPoints.length; x++) {
        validPointFound = (pointValue === betValidPoints[x]) || validPointFound;
      }
      if (!validPointFound) {
        throw new BetInvalidPointError("This point cannot be set for this bet.");
      }
      var resolves = [
        {
          'rolls': [new DiceRoll(pointValue/2, pointValue/2)],
          'pay': this.getPayRatio(pointValue)
        },
        {
          'rolls': DiceRoll.getRolls([7, pointValue], new DiceRoll(pointValue/2, pointValue/2)),
          'pay': -1
        }
      ];
      var pointResolves = [];
      super.pointMarked(pointValue, resolves, pointResolves);
    }
/**
     * Establish a point for this bet.
     * @param pointValue [Number] The point to set for this bet.
     * @throw [BetInvalidPointError] This point cannot be set for this bet.
     */
Establish a point for this bet.
@param pointValue [Number] The point to set for this bet.
@throw [BetInvalidPointError] This point cannot be set for this bet.
Establish a point for this bet . @param pointValue [ Number ] The point to set for this bet . @throw [ BetInvalidPointError ] This point cannot be set for this bet .
pointMarked(pointValue) {
      var validPointFound = false;
      var betValidPoints = [4, 6, 8, 10];
      for (var x=0; x<betValidPoints.length; x++) {
        validPointFound = (pointValue === betValidPoints[x]) || validPointFound;
      }
      if (!validPointFound) {
        throw new BetInvalidPointError("This point cannot be set for this bet.");
      }
      var resolves = [
        {
          'rolls': [new DiceRoll(pointValue/2, pointValue/2)],
          'pay': this.getPayRatio(pointValue)
        },
        {
          'rolls': DiceRoll.getRolls([7, pointValue], new DiceRoll(pointValue/2, pointValue/2)),
          'pay': -1
        }
      ];
      var pointResolves = [];
      super.pointMarked(pointValue, resolves, pointResolves);
    }
pointMarked ( pointValue ) { var validPointFound = false ; var betValidPoints = [ 4 , 6 , 8 , 10 ] ; for ( var x = 0 ; x < betValidPoints . length ; x ++ ) { validPointFound = ( pointValue === betValidPoints [ x ] ) || validPointFound ; } if ( ! validPointFound ) { throw new BetInvalidPointError ( "This point cannot be set for this bet." ) ; } var resolves = [ { 'rolls' : [ new DiceRoll ( pointValue / 2 , pointValue / 2 ) ] , 'pay' : this . getPayRatio ( pointValue ) } , { 'rolls' : DiceRoll . getRolls ( [ 7 , pointValue ] , new DiceRoll ( pointValue / 2 , pointValue / 2 ) ) , 'pay' : - 1 } ] ; var pointResolves = [ ] ; super . pointMarked ( pointValue , resolves , pointResolves ) ; }
Establish a point for this bet.
Establish a point for this bet .