Beispiel #1
0
 /// <summary>
 /// Konstruktor des komplexen Map-Generators
 /// </summary>
 /// <param name="id">ID des Planeten</param>
 /// <param name="universe">ID des Universums</param>
 /// <param name="size">Größe des Planeten in Zweierpotenzen Chunks</param>
 /// <param name="generator">Instanz des Map-Generators</param>
 /// <param name="seed">Seed des Zufallsgenerators</param>
 public ComplexPlanet(int id, Guid universe, Index3 size, IMapGenerator generator, int seed)
     : base(id, universe, size, seed)
 {
     BiomeGenerator = new SurfaceBiomeGenerator(this, 40);
     this.Heightmap = null;
     ClimateMap     = new Climate.ComplexClimateMap(this);
 }
 public ComplexPlanet(int id, int universe, Index3 size, IMapGenerator generator, int seed)
     : base(id, universe, size, seed)
 {
     BiomeGenerator = new SurfaceBiomeGenerator(this, 40);
     this.Heightmap = null;
     ClimateMap = new Climate.ComplexClimateMap(this);
 }
Beispiel #3
0
 private void Initalize()
 {
     BiomeGenerator = new SurfaceBiomeGenerator(this, 40);
     ClimateMap     = new Climate.ComplexClimateMap(this);
 }