use of main.logic.value.AT_ContentManager in project Eidolons by IDemiurge.
the class ArcaneTower method genericInit.
public static void genericInit(boolean av) {
EnumMaster.getAdditionalEnumClasses().add(StatEnums.class);
ContentManager.setTypeMaster(new TypeMaster() {
public OBJ_TYPE getOBJ_TYPE(String typeName) {
// AT_OBJ_TYPE.valueOf(typeName);
return new EnumMaster<AT_OBJ_TYPE>().retrieveEnumConst(AT_OBJ_TYPE.class, typeName);
}
});
XML_Reader.setCustomTypesPath(getTypesPath());
contentManager = new AT_ContentManager(dcSync);
if (av) {
launchAV();
}
// launchBackground();
initSimulation();
if (!av) {
contentManager.contentInit();
CoreEngine.systemInit();
XML_Reader.loadXml(getTypesPath());
}
sim.initObjTypes();
ContentManager.setInstance(contentManager);
}
Aggregations