Blackjack.Players.SimpleFiveCountPlayer.GetBet C# (CSharp) Method

GetBet() public method

public GetBet ( decimal min, decimal max ) : decimal
min decimal
max decimal
return decimal
        public override decimal GetBet(decimal min, decimal max)
        {
            //return min * (1+fives);
            if (fives == 1)
                return min * 2;
            if (fives == 2)
                return min * 4;
            if (fives == 3)
                return min * 6;
            if (fives == 4)
                return min * 9;
            return min;
        }