public void AddCardsToDeck(IEnumerable<Card> cards, DeckPosition deckPosition) { AddCardsInto(DeckLocation.Deck, cards, deckPosition); if (CardsAddedToDeck != null) { CardsAddedToDeckEventArgs catdea = new CardsAddedToDeckEventArgs(cards, deckPosition); CardsAddedToDeck(this, catdea); } }
public void AddCardToDeck(Card card, DeckPosition deckPosition) { AddCardInto(DeckLocation.Deck, card, deckPosition); if (CardsAddedToDeck != null) { CardsAddedToDeckEventArgs catdea = new CardsAddedToDeckEventArgs(card, deckPosition); CardsAddedToDeck(this, catdea); } }