public StaticCity(StaticCity city)
 {
     Name = city.Name;
     TagName = city.TagName;
     DataType = city.DataType;
     BuildingTag = city.BuildingTag;
 }
Example #2
0
 public StaticCity(StaticCity city)
 {
     Name        = city.Name;
     TagName     = city.TagName;
     DataType    = city.DataType;
     BuildingTag = city.BuildingTag;
 }
        private StaticCity AddCity(string name, string tagName)
        {
            StaticCity city = new StaticCity();

            city.Name = name;
            city.TagName = tagName;
            city.DataType = DataType.City;
            return city;
        }
Example #4
0
 public GameCity(StaticCity city) : base(city)
 {
 }
 private StaticCity AddBuildingsToCity(StaticCity city, params string[] buildings)
 {
     city.BuildingTag = buildings.ToList();
     return city;
 }
Example #6
0
 public GameCity(StaticCity city)
     : base(city)
 {
 }