BjEval.SuperEval.SHand.SHand C# (CSharp) Method

SHand() public method

public SHand ( Hand hand ) : System.Collections.Generic
hand GR.Gambling.Blackjack.Hand
return System.Collections.Generic
            public SHand(Hand hand)
            {
                int soft_total = hand.SoftTotal();
                if (soft_total <= 21 && hand.HasAce())
                {
                    this.Total = soft_total;
                    this.Soft = true;
                }
                else
                {
                    this.Total = hand.HardTotal();
                    this.Soft = false;
                }
            }
SuperEval.SHand