SettlementImprovementType cityImprovementType = iterator.next();
xml.append("<improvementType>" + cityImprovementType.getId() + "</improvementType>\n");
}
xml.append("</ImprovementPrerequisite>");
} else if (prerequisite instanceof PopulationPrerequisite) {
PopulationPrerequisite populationPrerequisite = (PopulationPrerequisite) prerequisite;
xml.append("<PopulationPrerequisite>\n");
xml.append("<population>" + populationPrerequisite.getPrerequisitePopulation() + "</population>");
xml.append("</PopulationPrerequisite>");
}
}
}
xml.append("</Prerequisites>\n");