예제 #1
0
        public CardAttributeValue(CardAttribute _cardAttribute, Card _card)
        {
            cardAttribute = _cardAttribute;
            card = _card;

            cardAttribute.AttributeValues.Add(this);
            card.AttributeValues.Add(this);
        }
예제 #2
0
        public CardPrint(CardSeries series, Rarity _rarity, Card _card)
        {
            cardSeries = series;
            rarity = _rarity;
            card = _card;

            if (cardSeries != null) { cardSeries.Prints.Add(this); }
            if (rarity != null) { rarity.Prints.Add(this); }
            if (card != null) { card.Prints.Add(this); }

            fixedContent = new ObservableBoosterFixedContentCollection();
        }