public BattleEngine(IBattleRender battleRender, IActionFinder actionFinder, INextUnitFinder nextUnitFinder, ITargetUnitsFinder targetUnitsFinder, IBattleUnitRender battleUnitRender, ICooldownUpdater cooldownUpdater, IBattleActionProcessor battleActionProcessor) { this.battleRender = battleRender; this.actionFinder = actionFinder; this.nextUnitFinder = nextUnitFinder; this.targetUnitsFinder = targetUnitsFinder; this.battleUnitRender = battleUnitRender; this.cooldownUpdater = cooldownUpdater; this.battleActionProcessor = battleActionProcessor; var testBattleBuilder = new TestBattleBuilder(); CurrentBattle = testBattleBuilder.Build(); }
public RouteGenerator(IRouting routing, IControllerFinder controllerFinder, IActionFinder actionFinder) { _routing = routing; _actionFinder = actionFinder; _controllerFinder = controllerFinder; }
public ConnegActionFinder(BehaviorGraph graph, IActionGrouper actionGrouper, IActionFinder actionFinder) { _graph = graph; _actionGrouper = actionGrouper; _actionFinder = actionFinder; }