use of eidolons.system.test.TestMasterContent in project Eidolons by IDemiurge.
the class DC_Game method initMasters.
private void initMasters() {
master = new DC_GameMaster(this);
// if (!CoreEngine.isArcaneVault()) {
manager = new DC_GameManager(getState(), this);
manager.init();
// } //TODO FIX classdefnotfound!
this.setIdManager(new DC_IdManager(this));
combatMaster = createCombatMaster();
requirementsManager = new DC_RequirementsManager(this);
valueManager = new DC_ValueManager(this);
visionMaster = new VisionMaster(this);
mathManager = new DC_MathManager(this);
effectManager = new DC_EffectManager(this);
animationManager = new AnimationManager(this);
droppedItemManager = new DroppedItemManager(this);
valueHelper = new ValueHelper(this);
setTestMaster(new TestMasterContent(this));
conditionMaster = new DC_ConditionMaster();
logManager = new DC_LogManager(this);
rules = new DC_Rules(this);
dungeonMaster = createDungeonMaster();
battleMaster = createBattleMaster();
if (!CoreEngine.isCombatGame())
return;
musicMaster = MusicMaster.getInstance();
if (musicMaster.isRunning()) {
musicMaster.resume();
} else {
musicMaster.startLoop();
}
}
Aggregations