public BasicController(MasterController masterController, PipeBuildController pipeBuildController, IBlueprintBuilder blueprintBuilder) { this.masterController = masterController; this.pipeBuildController = pipeBuildController; this.blueprintBuilder = blueprintBuilder; }
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); }