Beispiel #1
0
 public static FiveSuitedCard[] GetStandardDeckWithJokers()
 {
     FiveSuitedCard[] deckOfCards = new FiveSuitedCard[54];
     deckOfCards.CopyTo(StandardPlayingCard.GetColorlessJoker(), 0);
     deckOfCards.CopyTo(GetStandardDeck(), 1);
     deckOfCards.CopyTo(GetStandardDeck(), 53);
     return(deckOfCards);
 }
Beispiel #2
0
 public static FiveSuitedCard[] GetStandardDeck()
 {
     FiveSuitedCard[] deckOfCards = new FiveSuitedCard[52];
     deckOfCards.CopyTo(GetAStandardSuitOfCards(StandardSuitEnum.Clubs), 0);
     deckOfCards.CopyTo(GetAStandardSuitOfCards(StandardSuitEnum.Diamonds), 13);
     deckOfCards.CopyTo(GetAStandardSuitOfCards(StandardSuitEnum.Hearts), 26);
     deckOfCards.CopyTo(GetAStandardSuitOfCards(StandardSuitEnum.Spades), 39);
     return(deckOfCards);
 }