private void OnCityClicked(ICity city) { if (!IsAdding) { city.Destroy(); } }
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); } }