Drew DeVault 6517738949 Improve terrain generation
- Enforced coding style
- Improved perlin constants
- Improved biome constants
- Spawn plants before trees so plants may grow underneath
- Fixed areas that were not deterministic
2015-04-26 18:08:56 -06:00

45 lines
955 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrueCraft.API;
using TrueCraft.Core.Logic.Blocks;
using TrueCraft.API.World;
using TrueCraft.Core.TerrainGen.Noise;
namespace TrueCraft.Core.TerrainGen.Biomes
{
public class SwamplandBiome : BiomeProvider
{
public override byte ID
{
get { return (byte)Biome.Swampland; }
}
public override double Temperature
{
get { return 0.8f; }
}
public override double Rainfall
{
get { return 0.9f; }
}
public override TreeSpecies[] Trees
{
get
{
return new TreeSpecies[0];
}
}
public override PlantSpecies[] Plants
{
get
{
return new[] { PlantSpecies.SugarCane, PlantSpecies.TallGrass };
}
}
}
}