예제 #1
0
        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();
        }
예제 #2
0
 public RouteGenerator(IRouting routing, IControllerFinder controllerFinder, IActionFinder actionFinder)
 {
     _routing = routing;
     _actionFinder = actionFinder;
     _controllerFinder = controllerFinder;
 }
예제 #3
0
 public ConnegActionFinder(BehaviorGraph graph, IActionGrouper actionGrouper, IActionFinder actionFinder)
 {
     _graph         = graph;
     _actionGrouper = actionGrouper;
     _actionFinder  = actionFinder;
 }
예제 #4
0
 public ConnegActionFinder(BehaviorGraph graph, IActionGrouper actionGrouper, IActionFinder actionFinder)
 {
     _graph = graph;
     _actionGrouper = actionGrouper;
     _actionFinder = actionFinder;
 }