Ejemplo n.º 1
0
        //int cardsDelt = 0;


        public Deck()
        {
            DeckBuilderGUI db = new DeckBuilderGUI();

            deck = db.GetNewDeck();
            db.CleanUp();
            Shuffle(deck);
        }
Ejemplo n.º 2
0
        public void Reset()
        {
            string         fnId = $"{classId}.Reset()";
            DeckBuilderGUI db   = new DeckBuilderGUI();

            deck = db.GetNewDeck();
            db.CleanUp();
            Shuffle(deck);
            Helpers.PrintDebug(fnId, $"deck cound after reset: {deck.Length}");
        }