use of eidolons.game.battlecraft.ai.AI_Manager in project Eidolons by IDemiurge.
the class DC_Game method battleInit.
public void battleInit() {
// SpellGenerator.init();
setSimulation(false);
ActionGenerator.init();
getRules().getIlluminationRule().clearCache();
inventoryTransactionManager = new InventoryTransactionManager(this);
inventoryManager = new DC_InventoryManager(this);
battleMaster.init();
dungeonMaster.init();
setOffline(true);
// if (battlefield == null) {
battlefield = new DC_BattleField(new DC_BattleFieldGrid(getDungeon()));
battleFieldManager = new DC_BattleFieldManager(this);
getMovementManager().setGrid(battlefield.getGrid());
if (AI_ON) {
aiManager = new AI_Manager(this);
aiManager.init();
}
setBattleInit(true);
}
Aggregations