예제 #1
0
        private static List <Card> GetStackCards()
        {
            int deckSize = 30;

            List <Card> cards = new List <Card>();

            for (int i = 0; i < deckSize; i++)
            {
                cards.Add(TestLoaderCard.GetCardStack());
            }

            return(cards);
        }
예제 #2
0
        //Card GetCard(int id);
        public List <Card> GetDeckCards(int playerID, Deck deck)
        {
            List <Card> result = new List <Card>();

            for (int i = 0; i < 10; i++)
            {
                Card c = TestLoaderCard.GetCardStack();
                c.SetCardState(new CardStateDetail(c));
                result.Add(c);
            }

            return(result);
        }