Пример #1
0
 public CombinedGenerator(IList <ISubGenerator> generators, ILayerLocalParameters layerLocalParameters
                          , IVisualLogger vl)
 {
     _layerLocalParameters = layerLocalParameters;
     _logger     = vl;
     _generators = generators;
 }
Пример #2
0
 protected ABaseGenerator(INoise noise, ILayerLocalParameters layerLocalParameters)
 {
     _noise = noise;
     _layerLocalParameters = layerLocalParameters;
 }
Пример #3
0
 public CanyonGenerator(IVisualLogger logger, INoise np, ILayerLocalParameters lp) : base(np, lp)
 {
     _logger = logger;
 }
Пример #4
0
        public MountainGenerator(IVisualLogger logger, IVoronoiAreaGenerator voronoi, INoise np, ILayerLocalParameters lp) : base(np, lp)
        {
            _logger = logger;
            _voronoiAreGenerator = voronoi;
            _voronoiAreaDrawer   = new VoronoiAreaDrawer();

            // single purpouse logger. No need to be injected.
            _areaLoggerWithFill = new AreaLoggerWithFill(logger);
        }
Пример #5
0
 public HeightmapGenerator(INoise np, ILayerLocalParameters lp) : base(np, lp)
 {
 }