public PipeBuildController(MasterController masterController,
                            IBlueprintBuilder blueprintBuilder, CoordinatePair selectedLink)
 {
     this.masterController = masterController;
     this.blueprintBuilder = blueprintBuilder;
     this.selectedLink     = selectedLink;
 }
Пример #2
0
 public BasicController(MasterController masterController,
                        PipeBuildController pipeBuildController,
                        IBlueprintBuilder blueprintBuilder)
 {
     this.masterController    = masterController;
     this.pipeBuildController = pipeBuildController;
     this.blueprintBuilder    = blueprintBuilder;
 }
Пример #3
0
        public IController CreateController(IBlueprintBuilder blueprintBuilder,
                                            ITableHighlighter tableHighlighter)
        {
            var controller          = new MasterController(null, null, tableHighlighter);
            var pipeBuildController = new PipeBuildController(controller, blueprintBuilder, new CoordinatePair());
            var basicController     = new BasicController(controller, pipeBuildController, blueprintBuilder);

            controller.BaseController = basicController;
            controller.Reset();
            return(controller);
        }