コード例 #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
ファイル: RouteGenerator.cs プロジェクト: hhariri/EasyMVC
 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;
 }