GR.Gambling.Blackjack.CardSet.Remove C# (CSharp) Method

Remove() public method

public Remove ( CardSet cards ) : void
cards CardSet
return void
        public void Remove(CardSet cards)
        {
            foreach (Card c in cards)
                if (card_set.Remove(c))
                    RemoveCount(c);
        }

Same methods

CardSet::Remove ( Card card ) : void

Usage Example

Example #1
0
        public static CardSet operator -(CardSet set1, CardSet set2)
        {
            CardSet tmp = new CardSet(set1);

            tmp.Remove(set2);

            return(tmp);
        }
All Usage Examples Of GR.Gambling.Blackjack.CardSet::Remove