Esempio n. 1
0
        public FifteenWizardTowersUpgrade(WizardTowerBuilding wizardTowerBuilding, string name, double price, bool isShownIcon, bool isBought) : base(name, price, isShownIcon, isBought)
        {
            this.wizardTowerBuilding = wizardTowerBuilding;

            Description = "Wizard Towers are twice as efficient.";
            PrepareImage();
        }
        public WizardTowerUpgrades(WizardTowerBuilding wizardTowerBuilding, bool isContinueClicker)
        {
            this.isContinueClicker   = isContinueClicker;
            this.wizardTowerBuilding = wizardTowerBuilding;

            InitializeUpgrades();

            allUpgrades = new List <Upgrade>();

            allUpgrades.Add(fiveWizardTowersUpgrade);
            allUpgrades.Add(fifteenWizardTowersUpgrade);
            allUpgrades.Add(twentyFiveWizardTowersUpgrade);
            allUpgrades.Add(fiftyWizardTowersUpgrade);
            allUpgrades.Add(seventyFiveWizardTowersUpgrade);
            allUpgrades.Add(oneHundredWizardTowersUpgrade);
            allUpgrades.Add(oneHundredFiftyWizardTowersUpgrade);
        }