String mapType = loadedData.getString("mapType");
LoadedData mapDataData = loadedData.getSubData("mapData");
if (mapType.equals("Flat")) {
assert false : "Flat case not implemented!";
} else if (mapType.equals("Iso")) {
mapData = new IsoMapData(this, registry, mapDataData, step);
} else {
assert false : "Case not implemented!";
}
}