Exemple #1
0
 public ContourTriangulator(
     ICellEdgeContourCanon cellContourCanon, IRiverCanon riverCanon, IHexGrid grid
     )
 {
     CellContourCanon = cellContourCanon;
     RiverCanon       = riverCanon;
     Grid             = grid;
 }
Exemple #2
0
 public RiverSectionCanon(
     IHexGrid grid, IMapRenderConfig renderConfig, IRiverCanon riverCanon,
     ICellEdgeContourCanon cellEdgeContourCanon
     )
 {
     Grid                 = grid;
     RenderConfig         = renderConfig;
     RiverCanon           = riverCanon;
     CellEdgeContourCanon = cellEdgeContourCanon;
 }
 public NonRiverContourBuilder(
     IHexGrid grid, IRiverCanon riverCanon, ICellEdgeContourCanon cellEdgeContourCanon,
     IMapRenderConfig renderConfig
     )
 {
     Grid                 = grid;
     RiverCanon           = riverCanon;
     CellEdgeContourCanon = cellEdgeContourCanon;
     RenderConfig         = renderConfig;
 }
 private void InjectDependencies(
     IRiverSplineBuilder riverSplineBuilder, ICellEdgeContourCanon cellEdgeContourCanon,
     IHexGrid grid, IMapRenderConfig renderConfig
     )
 {
     RiverSplineBuilder   = riverSplineBuilder;
     CellEdgeContourCanon = cellEdgeContourCanon;
     Grid         = grid;
     RenderConfig = renderConfig;
 }
 public OrientationTriangulator(
     ICellEdgeContourCanon cellContourCanon, IRiverCanon riverCanon, IHexGrid grid,
     IContourTriangulator contourTriangulator
     )
 {
     CellContourCanon    = cellContourCanon;
     RiverCanon          = riverCanon;
     Grid                = grid;
     ContourTriangulator = contourTriangulator;
 }
Exemple #6
0
 public WeightsTriangulator(
     IMapRenderConfig renderConfig, IHexGrid grid, IRiverCanon riverCanon, ICellEdgeContourCanon cellContourCanon,
     IContourTriangulator contourTriangulator
     )
 {
     RenderConfig        = renderConfig;
     Grid                = grid;
     RiverCanon          = riverCanon;
     CellContourCanon    = cellContourCanon;
     ContourTriangulator = contourTriangulator;
 }
Exemple #7
0
 public CultureTriangulator(
     IHexGrid grid, ICivilizationTerritoryLogic civTerritoryLogic,
     ICellEdgeContourCanon cellEdgeContourCanon, IMapRenderConfig renderConfig,
     IGeometry2D geometry2D
     )
 {
     Grid = grid;
     CivTerritoryLogic    = civTerritoryLogic;
     CellEdgeContourCanon = cellEdgeContourCanon;
     RenderConfig         = renderConfig;
     Geometry2D           = geometry2D;
 }
 public RiverTriangulator(
     IMapRenderConfig renderConfig, IRiverSplineBuilder riverSplineBuilder,
     INoiseGenerator noiseGenerator, ICellEdgeContourCanon cellEdgeContourCanon,
     INonRiverContourBuilder nonRiverContourBuilder, IHexGrid grid,
     IRiverContourRationalizer riverContourCuller
     )
 {
     RenderConfig           = renderConfig;
     RiverSplineBuilder     = riverSplineBuilder;
     NoiseGenerator         = noiseGenerator;
     CellEdgeContourCanon   = cellEdgeContourCanon;
     NonRiverContourBuilder = nonRiverContourBuilder;
     Grid = grid;
     RiverContourRationalizer = riverContourCuller;
 }
Exemple #9
0
 public FarmTriangulator(
     IHexGrid grid, IImprovementLocationCanon improvementLocationCanon, INoiseGenerator noiseGenerator,
     IMapRenderConfig renderConfig, IGeometry2D geometry2D, ICellEdgeContourCanon cellContourCanon,
     IRiverCanon riverCanon, MapRenderingSignals mapRenderingSignals
     )
 {
     Grid = grid;
     ImprovementLocationCanon = improvementLocationCanon;
     NoiseGenerator           = noiseGenerator;
     RenderConfig             = renderConfig;
     Geometry2D          = geometry2D;
     CellContourCanon    = cellContourCanon;
     RiverCanon          = riverCanon;
     MapRenderingSignals = mapRenderingSignals;
 }
 public ContourRationalizer(ICellEdgeContourCanon cellEdgeContourCanon, IGeometry2D geometry2D)
 {
     CellEdgeContourCanon = cellEdgeContourCanon;
     Geometry2D           = geometry2D;
 }
Exemple #11
0
 public PointOrientationLogic(IHexGrid grid, ICellEdgeContourCanon cellContourCanon)
 {
     Grid             = grid;
     CellContourCanon = cellContourCanon;
 }