GR.Gambling.Blackjack.Game.CanSplit C# (CSharp) Method

CanSplit() public method

public CanSplit ( ) : bool
return bool
        public bool CanSplit()
        {
            // split is available as long as split cap hasn't been
            // reached and there's no other action done and the hand is a pair
            if (split_count < rules.Splits &&
                !player_handset.ActiveHand.Acted &&
                player_handset.ActiveHand.IsPair())
                return true;
            return false;
        }