public CardAttributeValue(CardAttribute _cardAttribute, Card _card) { cardAttribute = _cardAttribute; card = _card; cardAttribute.AttributeValues.Add(this); card.AttributeValues.Add(this); }
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(); }