/********************************* Change of display-nation **************/
private void scrollToStartPosition(GameDataAccessor gameData) {
RestrictedToNation resToNation = gameData.getRestrictedToNation();
CityReader cityReader = gameData.getCityReader();
NationReader nationReader = gameData.getNationReader();
Iterator<Long> iterator;
if (resToNation.isInAllNationsMode()) {
iterator = null;
} else if (resToNation.isInSpecificNationsMode()) {
Long[] forNations = resToNation.getForNations();
if (forNations.length > 0) {
iterator = nationReader.getAllCities(forNations[0]);
} else {
iterator = null;
}
} else {
// Should not happen
iterator = null;
}
if (iterator != null && iterator.hasNext()) {
Long aCityID = iterator.next();
Coordinate aCityPos
= cityReader.getCityPosition(aCityID);
center(aCityPos);
} else {
MapData mapData = Game.getMapData();
Coordinate centerPos = new Coordinate(mapData.getArrayWidth() / 2,
mapData.getArrayHeight() / 2);