Blackjack.BlackjackGame.DealerMustHit C# (CSharp) Méthode

DealerMustHit() public méthode

public DealerMustHit ( DealerHand hand ) : bool
hand DealerHand
Résultat bool
        public bool DealerMustHit(DealerHand hand)
        {
            if(hand.Soft)
                return hand.Value < Settings.DealerSoftStandThreshold;

            return hand.Value < Settings.DealerHardStandThreshold;
        }