C# Class NetMud.Cartography.ProceduralGeneration.ZoneGenerator

Generate some zones procedurally
Afficher le fichier Open project: SwiftAusterity/NetMud

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ExecuteMap ( ) : void
Résultat void

FillMap() public méthode

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

ZoneGenerator() public méthode

public ZoneGenerator ( IZone zone, int width, int length, int elevation, int depth ) : System
zone IZone
width int
length int
elevation int
depth int
Résultat System

ZoneGenerator() public méthode

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
Résultat System

ZoneGenerator() public méthode

public ZoneGenerator ( int width, int length, int elevation, int depth ) : System
width int
length int
elevation int
depth int
Résultat System

ZoneGenerator() public méthode

public ZoneGenerator ( int seed, int width, int length, int elevation, int depth ) : System
seed int
width int
length int
elevation int
depth int
Résultat System