Update city entities
This commit is contained in:
parent
dc1d3dc203
commit
fd85ed7c42
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue