C# Class NetMud.Cartography.ProceduralGeneration.ZoneGenerator

Generate some zones procedurally
显示文件 Open project: SwiftAusterity/NetMud

Public Methods

Method Description
ExecuteMap ( ) : void
FillMap ( ) : void

Creates the map, but only the array, does not create the rooms

ZoneGenerator ( IZone zone, int width, int length, int elevation, int depth ) : System
ZoneGenerator ( int seed, IZone zone, int width, int length, int elevation, int depth ) : System
ZoneGenerator ( int width, int length, int elevation, int depth ) : System
ZoneGenerator ( int seed, int width, int length, int elevation, int depth ) : System

Private Methods

Method Description
VerifyDimensions ( int width, int length, int elevation, int depth ) : void
VerifyZone ( IZone zone ) : void

We just throw errors, no need for a return value

Method Details

ExecuteMap() public method

public ExecuteMap ( ) : void
return void

FillMap() public method

Creates the map, but only the array, does not create the rooms
public FillMap ( ) : void
return void

ZoneGenerator() public method

public ZoneGenerator ( IZone zone, int width, int length, int elevation, int depth ) : System
zone IZone
width int
length int
elevation int
depth int
return System

ZoneGenerator() public method

public ZoneGenerator ( int seed, IZone zone, int width, int length, int elevation, int depth ) : System
seed int
zone IZone
width int
length int
elevation int
depth int
return System

ZoneGenerator() public method

public ZoneGenerator ( int width, int length, int elevation, int depth ) : System
width int
length int
elevation int
depth int
return System

ZoneGenerator() public method

public ZoneGenerator ( int seed, int width, int length, int elevation, int depth ) : System
seed int
width int
length int
elevation int
depth int
return System