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