Ejemplo n.º 1
0
        public BoosterRandomContent(Booster _booster, CardSeries series, Rarity _rarity)
        {
            booster = _booster;
            cardSeries = series;
            rarity = _rarity;

            if (booster != null) { booster.RandomContent.Add(this); }
            if (cardSeries != null) { cardSeries.RandomContent.Add(this); }
            if (rarity != null) { rarity.RandomContent.Add(this); }
        }
Ejemplo n.º 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();
        }