Exemple #1
0
        public Deck(CardData data, IRandomNumberGenerator rg)
        {
            availableCards = data.Cards.ToList();
            shuffledCards = new List<Card>();

            in_deck = new bool[availableCards.Count];

            randomNumberGenerator = rg;
        }