Exemple #1
0
        public Map1Features(_MapJobs map)
        {
            seed  = map.seed;
            grid  = map.grid;
            cells = grid.cells;

            templateInput = map.templateInput;
        }
        public Map1OceanLayers(_MapJobs map)
        {
            grid = map.grid;

            cells    = grid.cells;
            vertices = grid.vertices;
            pointsN  = cells.i.Length;
        }
Exemple #3
0
 public Map4Coastline(_MapJobs map)
 {
     grid     = map.grid;
     pack     = map.pack;
     cells    = pack.cells;
     vertices = pack.vertices;
     n        = cells.i.Length;
 }
        public HeightmapGenerator(_MapJobs map)
        {
            graphWidth    = map.graphWidth;
            graphHeight   = map.graphHeight;
            densityInput  = map.densityInput;
            templateInput = map.templateInput;

            grid = map.grid;
        }
Exemple #5
0
        public Map2Precipitation(_MapJobs map)
        {
            grid           = map.grid;
            cells          = grid.cells;
            mapCoordinates = map.mapCoordinates;
            winds          = map.winds;

            modifier = map.precInput / 100; // user's input
        }
Exemple #6
0
        public Map1Temperatures(_MapJobs map)
        {
            grid  = map.grid;
            cells = grid.cells;

            graphHeight    = map.graphHeight;
            mapCoordinates = map.mapCoordinates;

            temperatureEquatorInput = map.temperatureEquatorInput;
            temperaturePoleInput    = map.temperaturePoleInput;
            heightExponentInput     = map.heightExponentInput;
        }
Exemple #7
0
 public Map3Features(_MapJobs map)
 {
     grid  = map.grid;
     pack  = map.pack;
     cells = pack.cells;
 }
Exemple #8
0
 private void Awake()
 {
     mapJobs = new _MapJobs();
     mapJobs.processAsync(onCallback);
 }