internal Game(long _id) { id = _id; factions = new ObservableFactionCollection(); cardtypes = new ObservableCardtypeCollection(); cards = new ObservableCardCollection(); }
public CardType(Game _game) { game = _game; if (game != null) { game.CardTypes.Add(this); } cards = new ObservableCardCollection(); }
public Faction(Game _game) { game = _game; if (game != null) { game.Factions.Add(this); } cards = new ObservableCardCollection(); }
public Game() { //Initialize collections cardTypes = new ObservableTypeCollection(); factions = new ObservableFactionCollection(); cards = new ObservableCardCollection(); attributes = new ObservableAttributeCollection(); rarities = new ObservableRarityCollection(); cardSets = new ObservableCardSetCollection(); }