public StaticInfrastructure(StaticInfrastructure infrastructure)
 {
     Name = infrastructure.Name;
     TagName = infrastructure.TagName;
     DataType = infrastructure.DataType;
     BuildingTag = infrastructure.BuildingTag;
 }
 public StaticInfrastructure(StaticInfrastructure infrastructure)
 {
     Name        = infrastructure.Name;
     TagName     = infrastructure.TagName;
     DataType    = infrastructure.DataType;
     BuildingTag = infrastructure.BuildingTag;
 }
        private StaticInfrastructure AddInfrastructure(string name, string tagName)
        {
            StaticInfrastructure industry = new StaticInfrastructure();

            industry.Name = name;
            industry.TagName = tagName;
            industry.DataType = DataType.Industry;
            return industry;
        }
 private StaticInfrastructure AddInfrastructureBuildings(StaticInfrastructure infrastructure, params string[] buildingTagas)
 {
     infrastructure.BuildingTag = buildingTagas.ToList();
     return infrastructure;
 }
Example #5
0
 public GameInfrastructure(StaticInfrastructure infrastructure) : base(infrastructure)
 {
 }
 public GameInfrastructure(StaticInfrastructure infrastructure)
     : base(infrastructure)
 {
 }