name = loadedData.getString("name");
String whichVisManager = loadedData.getString("whichVisManager");
LoadedData visData = loadedData.getSubData("visManager");
if (whichVisManager.equals(REALITY_VISIBILITY)) {
Registry realityRegistry = visibilityRegistry.getSubRegistry("reality");
this.visibilityManager = new RealityVisibilityManager(realityRegistry, this);
} else if (whichVisManager.equals(BLACK_WHITE_VISIBILITY)) {
Registry blackWhiteRegistry = visibilityRegistry.getSubRegistry("blackWhite");
this.visibilityManager
= new BlackWhiteVisibilityManager(blackWhiteRegistry, this, visData, step);
} else {
assert false : "TODO: Throw exception!";
}