Ejemplo n.º 1
0
        /// <summary>
        /// Private constructor as per Singleton pattern.
        /// </summary>
        private CardDefs()
        {
            _cardDefsDic = new Dictionary <string, CardDef>();

            // Standard
            CoreCardsGen.AddAll(_cardDefsDic);
            Expert1CardsGen.AddAll(_cardDefsDic);

            GilneasCardsGen.AddAll(_cardDefsDic);
            BoomsdayCardsGen.AddAll(_cardDefsDic);
            TrollCardsGen.AddAll(_cardDefsDic);
            DalaranCardsGen.AddAll(_cardDefsDic);
            UldumCardsGen.AddAll(_cardDefsDic);
            DragonsCardsGen.AddAll(_cardDefsDic);

            // Rest
            NaxxCardsGen.AddAll(_cardDefsDic);
            GvgCardsGen.AddAll(_cardDefsDic);
            BrmCardsGen.AddAll(_cardDefsDic);
            TgtCardsGen.AddAll(_cardDefsDic);
            LoeCardsGen.AddAll(_cardDefsDic);
            GangsCardsGen.AddAll(_cardDefsDic);
            KaraCardsGen.AddAll(_cardDefsDic);
            OgCardsGen.AddAll(_cardDefsDic);
            UngoroCardsGen.AddAll(_cardDefsDic);
            IcecrownCardsGen.AddAll(_cardDefsDic);
            LootapaloozaCardsGen.AddAll(_cardDefsDic);

            HofCardsGen.AddAll(_cardDefsDic);

            // Tavern Brawl
            //TbCardsGen.AddAll(_powerDic);

            // ****************************************
            // * DO NOT UNCOMMENT THEM BEFORE REMOVING
            // * REDUNDANT CARD IMPLEMENTATIONS IN THE
            // * ADV SET!!!
            // ****************************************
            // Adventure
            //BrmCardsGenAdv.AddAll(_powerDic);
            //NaxxCardsGenAdv.AddAll(_powerDic);
            //LoeCardsGenAdv.AddAll(_powerDic);
            //KaraCardsGenAdv.AddAll(_powerDic);
            //IcecrownCardsGenAdv.AddAll(_powerDic);
            //LootapaloozaCardsGenAdv.AddAll(_cardDefsDic);
        }
Ejemplo n.º 2
0
        private Enchantments()
        {
            // Standard
            CoreCardsGen.AddAll(_entchantmentDic);
            Expert1CardsGen.AddAll(_entchantmentDic);
            GangsCardsGen.AddAll(_entchantmentDic);
            KaraCardsGen.AddAll(_entchantmentDic);
            OgCardsGen.AddAll(_entchantmentDic);
            UngoroCardsGen.AddAll(_entchantmentDic);

            // Rest
            HofCardsGen.AddAll(_entchantmentDic);
            NaxxCardsGen.AddAll(_entchantmentDic);
            GvgCardsGen.AddAll(_entchantmentDic);
            BrmCardsGen.AddAll(_entchantmentDic);
            TgtCardsGen.AddAll(_entchantmentDic);
            LoeCardsGen.AddAll(_entchantmentDic);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Private constructor as per Singleton pattern.
        /// </summary>
        private Enchantments()
        {
            _entchantmentDic =
                new Dictionary <string, List <Enchantment> >();

            // Standard
            CoreCardsGen.AddAll(_entchantmentDic);
            Expert1CardsGen.AddAll(_entchantmentDic);
            GangsCardsGen.AddAll(_entchantmentDic);
            KaraCardsGen.AddAll(_entchantmentDic);
            OgCardsGen.AddAll(_entchantmentDic);
            UngoroCardsGen.AddAll(_entchantmentDic);
            IcecrownCardsGen.AddAll(_entchantmentDic);
            LootapaloozaCardsGen.AddAll(_entchantmentDic);

            // Rest
            HofCardsGen.AddAll(_entchantmentDic);
            NaxxCardsGen.AddAll(_entchantmentDic);
            GvgCardsGen.AddAll(_entchantmentDic);
            BrmCardsGen.AddAll(_entchantmentDic);
            TgtCardsGen.AddAll(_entchantmentDic);
            LoeCardsGen.AddAll(_entchantmentDic);

            // Tavern Brawl
            TbCardsGen.AddAll(_entchantmentDic);

            // ****************************************
            // * DO NOT UNCOMMENT THEM BEFORE REMOVING
            // * REDUNDANT CARD IMPLEMENTATIONS IN THE
            // * ADV SET!!!
            // ****************************************
            // Adventure
            BrmCardsGenAdv.AddAll(_entchantmentDic);
            NaxxCardsGenAdv.AddAll(_entchantmentDic);
            LoeCardsGenAdv.AddAll(_entchantmentDic);
            KaraCardsGenAdv.AddAll(_entchantmentDic);
            IcecrownCardsGenAdv.AddAll(_entchantmentDic);
            LootapaloozaCardsGenAdv.AddAll(_entchantmentDic);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Private constructor as per Singleton pattern.
        /// </summary>
        private Powers()
        {
            _powerDic =
                new Dictionary <string, Power>();

            // Standard
            CoreCardsGen.AddAll(_powerDic);
            Expert1CardsGen.AddAll(_powerDic);
            GangsCardsGen.AddAll(_powerDic);
            KaraCardsGen.AddAll(_powerDic);
            OgCardsGen.AddAll(_powerDic);
            UngoroCardsGen.AddAll(_powerDic);
            IcecrownCardsGen.AddAll(_powerDic);
            LootapaloozaCardsGen.AddAll(_powerDic);

            // Rest
            HofCardsGen.AddAll(_powerDic);
            NaxxCardsGen.AddAll(_powerDic);
            GvgCardsGen.AddAll(_powerDic);
            BrmCardsGen.AddAll(_powerDic);
            //TgtCardsGen.AddAll(_powerDic);
            //LoeCardsGen.AddAll(_powerDic);

            // Tavern Brawl
            //TbCardsGen.AddAll(_powerDic);

            // ****************************************
            // * DO NOT UNCOMMENT THEM BEFORE REMOVING
            // * REDUNDANT CARD IMPLEMENTATIONS IN THE
            // * ADV SET!!!
            // ****************************************
            // Adventure
            //BrmCardsGenAdv.AddAll(_powerDic);
            //NaxxCardsGenAdv.AddAll(_powerDic);
            //LoeCardsGenAdv.AddAll(_powerDic);
            //KaraCardsGenAdv.AddAll(_powerDic);
            //IcecrownCardsGenAdv.AddAll(_powerDic);
            //LootapaloozaCardsGenAdv.AddAll(_powerDic);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Private constructor as per Singleton pattern.
        /// </summary>
        private Enchantments()
        {
            _entchantmentDic =
                new Dictionary <string, List <Enchantment> >();

            // Standard
            CoreCardsGen.AddAll(_entchantmentDic);
            Expert1CardsGen.AddAll(_entchantmentDic);
            GangsCardsGen.AddAll(_entchantmentDic);
            KaraCardsGen.AddAll(_entchantmentDic);
            OgCardsGen.AddAll(_entchantmentDic);
            UngoroCardsGen.AddAll(_entchantmentDic);
            IcecrownCardsGen.AddAll(_entchantmentDic);

            // Rest
            HofCardsGen.AddAll(_entchantmentDic);
            NaxxCardsGen.AddAll(_entchantmentDic);
            GvgCardsGen.AddAll(_entchantmentDic);
            BrmCardsGen.AddAll(_entchantmentDic);
            TgtCardsGen.AddAll(_entchantmentDic);
            LoeCardsGen.AddAll(_entchantmentDic);
        }