Beispiel #1
0
 /// <summary>
 /// 初始化.
 /// </summary>
 public void InitGames()
 {
     allPlayingCards.Clear();
     // 有几副牌, 就加几副.
     for (int i = 0; i < numOfDeck; i++)
     {
         PlayingDeck deck = new PlayingDeck();
         allPlayingCards.AddRange(deck.PlayingCardsList);
     }
 }
 /// <summary>
 /// 初始化.
 /// </summary>
 public void InitGames()
 {
     allPlayingCards.Clear();
     // 有几副牌, 就加几副.
     for (int i = 0; i < numOfDeck; i++)
     {
         PlayingDeck deck = new PlayingDeck();
         allPlayingCards.AddRange(deck.PlayingCardsList);
     }
 }