Update city entities

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

View file

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