Пример #1
0
 public BuildingValues(int minerals, int gas, double buildTime, string name)
     : this()
 {
     BuildTime = buildTime;
     Cost = new Cost(minerals, gas);
     Name = name;
 }
Пример #2
0
 public UnitValues(double supply, int minerals, int gas, double buildTime, string name, Type buildingType, Type builtFromUnit = null, double extraSupply = 0.0)
     : this()
 {
     Supply = supply;
     BuildTime = buildTime;
     Cost = new Cost(minerals, gas);
     Name = name;
     BuildingType = buildingType;
     BuiltFromUnit = builtFromUnit;
     ExtraSupply = extraSupply;
 }