Example #1
0
 public static Barrack Create(BuildingUpgradeCost upgradeCost)
 {
     return(new Barrack
     {
         Stage = 0,
         BuildingName = upgradeCost.BuildingName,
         BuildingCostId = upgradeCost.Id,
         UpgradeCost = upgradeCost
     });
 }
Example #2
0
 public static Farm Create(BuildingUpgradeCost upgradeCost)
 {
     return(new Farm
     {
         MaxPopulation = 100,
         Stage = 0,
         BuildingName = upgradeCost.BuildingName,
         BuildingCostId = upgradeCost.Id,
         UpgradeCost = upgradeCost
     });
 }
Example #3
0
 public static CityWall Create(BuildingUpgradeCost upgradeCost)
 {
     return(new CityWall
     {
         DefensePoints = 200,
         Stage = 0,
         BuildingName = upgradeCost.BuildingName,
         BuildingCostId = upgradeCost.Id,
         UpgradeCost = upgradeCost
     });
 }
Example #4
0
 public static CityHall Create(BuildingUpgradeCost upgradeCost)
 {
     return(new CityHall
     {
         UpgradeTimeReductionPercent = 5,
         Stage = 0,
         BuildingName = upgradeCost.BuildingName,
         BuildingCostId = upgradeCost.Id,
         UpgradeCost = upgradeCost
     });
 }
Example #5
0
 public static ResourceProduction CreateResourceProductionBuilding(BuildingUpgradeCost upgradeCost)
 {
     return(new ResourceProduction
     {
         ResourceType = ResourceType.silver,
         ProductionAmount = 100,
         BuildingName = upgradeCost.BuildingName,
         Stage = 0,
         UpgradeCost = upgradeCost,
         BuildingCostId = upgradeCost.Id
     });
 }
Example #6
0
 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
     });
 }