public CombinedMap(int _size, int _seed, int _chunksize) { size = _size; chunksize = _chunksize; Height = new HeightMap(_size, _seed, _chunksize); Heat = new HeatMap(_size, _seed + 1, _chunksize, ref Height); Moisture = new MoistureMap(_size, _seed + 2, _chunksize, ref Height); Climat = new ClimatMap(ref Height, ref Heat, ref Moisture, _size, _chunksize); }
public ClimatMap(ref HeightMap _height, ref HeatMap _heat, ref MoistureMap _moisture, int _size, int _chunksize) { Height = _height; Heat = _heat; Moisture = _moisture; size = _size; chunksize = _chunksize; Map = new BlockType[size, size]; NoneMap(); }