C# Class Ballz.SessionFactory.TerrainGenerator

Mostra file Open project: SpagAachen/Ballz

Public Methods

Method Description
GenerateTerrain ( int width, int height ) : Microsoft.Xna.Framework.Graphics.Texture2D

Private Methods

Method Description
GenerateArray ( int width, int height ) : ].Terrain.TerrainType[
weightedNoise ( float f, int height, int x, int y ) : float

Method Details

GenerateTerrain() public static method

public static GenerateTerrain ( int width, int height ) : Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
return Microsoft.Xna.Framework.Graphics.Texture2D