示例#1
0
		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);
			}
		}
示例#2
0
		public void AddCardToDeck(Card card, DeckPosition deckPosition)
		{
			AddCardInto(DeckLocation.Deck, card, deckPosition);
			if (CardsAddedToDeck != null)
			{
				CardsAddedToDeckEventArgs catdea = new CardsAddedToDeckEventArgs(card, deckPosition);
				CardsAddedToDeck(this, catdea);
			}
			
		}