public static void CreateWorld()
{
NoiseGenerator.generateNoise(2, 22, .085, .3); //Tells the generator to make a freshly generated map based on the parameters
for (int i = 0; i < WorldSize.X; i++)
{
for (int y = 0; y < WorldSize.Y; y++)
{
Lists.TileHeightArray[i, y] = (float)NoiseGenerator.Noise(i, y); //Goes through the whole map, assigning the correct height values
}
}
}