Exemplo n.º 1
0
        public FiftyPrismsUpgrade(PrismBuilding prismBuilding, string name, double price, bool isShownIcon, bool isBought) : base(name, price, isShownIcon, isBought)
        {
            this.prismBuilding = prismBuilding;

            Description = "Prisms are twice as efficient.";
            PrepareImage();
        }
Exemplo n.º 2
0
        public PrismUpgrades(PrismBuilding prismBuilding, bool isContinueClicker)
        {
            this.isContinueClicker = isContinueClicker;
            this.prismBuilding     = prismBuilding;

            InitializeUpgrades();

            allUpgrades = new List <Upgrade>();

            allUpgrades.Add(fivePrismsUpgrade);
            allUpgrades.Add(fifteenPrismsUpgrade);
            allUpgrades.Add(twentyFivePrismsUpgrade);
            allUpgrades.Add(fiftyPrismsUpgrade);
            allUpgrades.Add(seventyFivePrismsUpgrade);
            allUpgrades.Add(oneHundredPrismsUpgrade);
            allUpgrades.Add(oneHundredFiftyPrismsUpgrade);
        }