public Rarity(Game _game) { game = _game; if (game != null) { game.Rarities.Add(this); } prints = new ObservablePrintCollection(); randomContent = new ObservableBoosterRandomContentCollection(); }
public CardSeries(CardSet set) { cardSet = set; if (cardSet != null) { cardSet.CardSeries.Add(this); } prints = new ObservablePrintCollection(); randomContent = new ObservableBoosterRandomContentCollection(); }
public Card(Game _game, Faction _faction, CardType _type) { game = _game; faction = _faction; cardType = _type; if (game != null) { game.Cards.Add(this); } if (faction != null) { faction.Cards.Add(this); } if (cardType != null) { cardType.Cards.Add(this); } attributeValues = new ObservableAttributeValueCollection(); prints = new ObservablePrintCollection(); }