Exemplo n.º 1
0
        private Card duplicate(Card card)
        {
            Card duplicate = cardBuilder.cardConstruct(cardConstructor, card.cardProps.identifier);

            duplicate.suppTextures.supplements[duplicate.suppTextures.portrait].setTexture(library.cardTextureDictionary[duplicate.cardProps.identifier]);
            duplicate.setSupplementalTextures(library);
            duplicate.setColorForRace();
            duplicate.setScale(CardScale.Board);
            duplicate.initSupplements();
            return(duplicate);
        }
Exemplo n.º 2
0
        private List <Card> returnIdentifiedCards(int numberOfThisCard, int identifier)
        {
            List <Card> tempList = new List <Card>();

            for (int i = 0; i < numberOfThisCard; i++)
            {
                Card card = cardBuilder.cardConstruct(cardConstructor, identifier);
                tempList.Add(card);
            }
            loadAllPossibleTextures();

            return(tempList);
        }