public static Barrack Create(BuildingUpgradeCost upgradeCost) { return(new Barrack { Stage = 0, BuildingName = upgradeCost.BuildingName, BuildingCostId = upgradeCost.Id, UpgradeCost = upgradeCost }); }
public static Farm Create(BuildingUpgradeCost upgradeCost) { return(new Farm { MaxPopulation = 100, Stage = 0, BuildingName = upgradeCost.BuildingName, BuildingCostId = upgradeCost.Id, UpgradeCost = upgradeCost }); }
public static CityWall Create(BuildingUpgradeCost upgradeCost) { return(new CityWall { DefensePoints = 200, Stage = 0, BuildingName = upgradeCost.BuildingName, BuildingCostId = upgradeCost.Id, UpgradeCost = upgradeCost }); }
public static CityHall Create(BuildingUpgradeCost upgradeCost) { return(new CityHall { UpgradeTimeReductionPercent = 5, Stage = 0, BuildingName = upgradeCost.BuildingName, BuildingCostId = upgradeCost.Id, UpgradeCost = upgradeCost }); }
public static ResourceProduction CreateResourceProductionBuilding(BuildingUpgradeCost upgradeCost) { return(new ResourceProduction { ResourceType = ResourceType.silver, ProductionAmount = 100, BuildingName = upgradeCost.BuildingName, Stage = 0, UpgradeCost = upgradeCost, BuildingCostId = upgradeCost.Id }); }
public static Warehouse Create(BuildingUpgradeCost upgradeCost) { return(new Warehouse { MaxSilverStorageCapacity = 1000, MaxStoneStorageCapacity = 1000, MaxWoodStorageCapacity = 1000, Stage = 0, BuildingName = upgradeCost.BuildingName, UpgradeCost = upgradeCost, BuildingCostId = upgradeCost.Id }); }