public FancyViewModelFactory(
     IViewModelTilesFactory tilesFactory,
     IFactory <IRenderable> blockCoreFactory,
     IFactory <IRenderable> roundCornerFactory,
     IFactory <IRenderable> straightUpCornerFactory,
     IFactory <IRenderable> straightRightCornerFactory,
     IFactory <IRenderable> closedCornerFactory,
     IFactory <IRenderable> outsideUpCornerFactory,
     IFactory <IRenderable> outsideRightCornerFactory,
     IFactory <IRenderable> diagonalMissingCornerFactory,
     IFactory <IRenderable> roundEdgeFactory,
     IFactory <IRenderable> closedEdgeFactory)
 {
     this.tilesFactory                 = tilesFactory;
     this.blockCoreFactory             = blockCoreFactory;
     this.roundCornerFactory           = roundCornerFactory;
     this.straightUpCornerFactory      = straightUpCornerFactory;
     this.straightRightCornerFactory   = straightRightCornerFactory;
     this.closedCornerFactory          = closedCornerFactory;
     this.outsideUpCornerFactory       = outsideUpCornerFactory;
     this.outsideRightCornerFactory    = outsideRightCornerFactory;
     this.diagonalMissingCornerFactory = diagonalMissingCornerFactory;
     this.roundEdgeFactory             = roundEdgeFactory;
     this.closedEdgeFactory            = closedEdgeFactory;
 }
Ejemplo n.º 2
0
 public ViewModelFactory(IViewModelTilesFactory tilesFactory,
                         IFactory <IRenderable> blockFactory,
                         IFactory <IRenderable> batteryFactory,
                         IFactory <IRenderable> emptyComponentFactory,
                         IFactory <IRenderable> pipeLinkFactory,
                         IFactory <IRenderable, ICurve> pipeFactory,
                         IDetails <IShipComponent> shipComponentDetails)
 {
     this.tilesFactory          = tilesFactory;
     this.blockFactory          = blockFactory;
     this.batteryFactory        = batteryFactory;
     this.emptyComponentFactory = emptyComponentFactory;
     this.pipeLinkFactory       = pipeLinkFactory;
     this.pipeFactory           = pipeFactory;
     this.componentDetails      = shipComponentDetails;
 }