public SpecializedUpgrade(UpgradeType upgradeType, List <ResourcesManager.ResourceAmount> upgradeCosts, Building.BuildingStat upgradedStat, float newValue) { this.upgradeType = upgradeType; this.upgradedStat = upgradedStat; this.upgradeCosts = upgradeCosts; this.newValue = newValue; }
public void SetSelectedBuildingAndStat(GameObject building, Building.BuildingStat buildingStat) { selectedBuilding = building; this.buildingStat = buildingStat; }