Update city entities

This commit is contained in:
Victor Shcherb 2020-11-12 18:09:59 +01:00
parent dc1d3dc203
commit fd85ed7c42

View file

@ -24,6 +24,10 @@ public class City extends MapObject {
public double getRadius() {
return radius;
}
public boolean storedAsSeparateAdminEntity() {
return this != DISTRICT && this != NEIGHBOURHOOD && this != BOROUGH;
}
public static String valueToString(CityType t) {
return t.toString().toLowerCase();