Search in sources :

Example 1 with DC_RequirementsManager

use of eidolons.system.DC_RequirementsManager 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();
    }
}
Also used : VisionMaster(eidolons.game.battlecraft.logic.battlefield.vision.VisionMaster) TestMasterContent(eidolons.system.test.TestMasterContent) DC_RequirementsManager(eidolons.system.DC_RequirementsManager) DC_IdManager(eidolons.entity.DC_IdManager) DC_EffectManager(eidolons.ability.effects.DC_EffectManager) DC_LogManager(eidolons.system.text.DC_LogManager) AnimationManager(eidolons.system.graphics.AnimationManager) DC_MathManager(eidolons.system.math.DC_MathManager) DroppedItemManager(eidolons.game.battlecraft.logic.battlefield.DroppedItemManager) DC_ConditionMaster(eidolons.system.DC_ConditionMaster) ValueHelper(main.system.entity.ValueHelper) DC_ValueManager(eidolons.content.DC_ValueManager) DC_Rules(eidolons.game.battlecraft.rules.DC_Rules)

Aggregations

DC_EffectManager (eidolons.ability.effects.DC_EffectManager)1 DC_ValueManager (eidolons.content.DC_ValueManager)1 DC_IdManager (eidolons.entity.DC_IdManager)1 DroppedItemManager (eidolons.game.battlecraft.logic.battlefield.DroppedItemManager)1 VisionMaster (eidolons.game.battlecraft.logic.battlefield.vision.VisionMaster)1 DC_Rules (eidolons.game.battlecraft.rules.DC_Rules)1 DC_ConditionMaster (eidolons.system.DC_ConditionMaster)1 DC_RequirementsManager (eidolons.system.DC_RequirementsManager)1 AnimationManager (eidolons.system.graphics.AnimationManager)1 DC_MathManager (eidolons.system.math.DC_MathManager)1 TestMasterContent (eidolons.system.test.TestMasterContent)1 DC_LogManager (eidolons.system.text.DC_LogManager)1 ValueHelper (main.system.entity.ValueHelper)1