Ejemplo n.º 1
0
 /// <summary>
 /// add Deck into BlackJackDataList
 /// </summary>
 /// <param name="deck"></param>
 public void AddDeckData(Deck deck)
 {
     for (int j = 0; j < deck.CardCount(); j++)
     {
         Card          card = deck.GetCard(j);
         BlackJackData data = new BlackJackData();
         data.AddCardData(card, deck.InternalDeckId());
         m_list.Add(data);
     }
 }