TradeResource tr = city.getTradeResource();
if (tr != null) {
if (cityTradeResources == null) {
cityTradeResources = new int[TradeResource.values().length];
}
cityTradeResources[tr.ordinal()]++;
}
if (cityCache != null) {
cityCache.put(city, this);
}
return super.visit(feature);