Пример #1
0
        /// <summary>
        /// Loads all the cards from a file and fills 2 decks with it
        /// </summary>
        private void LoadCards()
        {
            List <Card> cards = CurrentConfigFile.GetAllCards(@"Config\CardDescriptions").ToList();

            ChanceCards = new Deck(cards.GetRange(0, (cards.Count / 2)));
            cards.RemoveRange(0, cards.Count / 2);
            CommunityCards = new Deck(cards);
        }