Beispiel #1
0
        public CardType(Game _game)
        {
            game = _game;

            if (game != null) { game.CardTypes.Add(this); }

            cards = new ObservableCardCollection();
        }
Beispiel #2
0
        public Faction(Game _game)
        {
            game = _game;

            if (game != null) { game.Factions.Add(this); }

            cards = new ObservableCardCollection();
        }
Beispiel #3
0
        public CardSet(Game _game)
        {
            game = _game;

            if (game != null) { game.CardSets.Add(this); }

            cardSeries = new ObservableCardSeriesCollection();
            boosters = new ObservableBoosterCollection();
        }
Beispiel #4
0
        public Rarity(Game _game)
        {
            game = _game;

            if (game != null) { game.Rarities.Add(this); }

            prints = new ObservablePrintCollection();
            randomContent = new ObservableBoosterRandomContentCollection();
        }
Beispiel #5
0
        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();
        }