use of eidolons.system.DC_ConditionMaster in project Eidolons by IDemiurge.
the class DC_Engine method gameInit.
public static void gameInit() {
// DC_CostsFactory.createCostsForTypes();
Chronos.mark("GAME INIT");
ConditionMaster.setInstance(new DC_ConditionMaster());
DC_ActionManager.init();
DrawHelper.init();
Chronos.logTimeElapsedForMark("GAME INIT");
}
use of eidolons.system.DC_ConditionMaster 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