private void OnCityClicked(ICity city)
 {
     if (!IsAdding)
     {
         city.Destroy();
     }
 }
Пример #2
0
        public void RazeCity(ICity city)
        {
            var cityLocation = CityLocationCanon.GetOwnerOfPossession(city);

            city.Destroy();

            if (cityLocation.Feature == CellFeature.None && CellModLogic.CanChangeFeatureOfCell(cityLocation, CellFeature.CityRuins))
            {
                CellModLogic.ChangeFeatureOfCell(cityLocation, CellFeature.CityRuins);
            }
        }