프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CurrentStep | string |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
isGenerating | bool | ||
regions | DivineRightGame.Managers.HelperObjects.Region[] |
메소드 | 설명 | |
---|---|---|
ColoniseWorld ( ) : void |
Drops a number of settlements within the world
|
|
CreateBandits ( ) : void |
Create bandit camps
|
|
CreateDungeons ( ) : void | ||
CreateOrcCitadels ( ) : void |
Creates Citadels on the map Will colonise areas not claimed by humans.
|
|
DetermineBiomes ( ) : void |
Determines the biomes for each tile from their traits
|
|
DetermineDesirability ( |
Determines the Desirability of a particular global tile
|
|
DetermineDesirability ( ) : void |
This determines the base desirability for all tile by examining the tile itself
|
|
GenerateRains ( ) : void |
Generates the amount of rain in the world
|
|
GenerateResources ( ) : void |
Generates a number of resources on the map
|
|
GenerateRoads ( ) : void |
Generates the roads
|
|
GenerateTemperatures ( ) : void |
Generates the temperatures of the world
|
|
GenerateWorld ( ) : void |
Generates the global map
|
|
GetBlocksAroundPoint ( MapCoordinate centre, int radius ) : DRObjects.MapBlock[] |
Returns a filled square around a particular point
|
|
GetCircleAroundPoint ( MapCoordinate centre, int radius ) : DRObjects.MapBlock[] |
Gets a 'circle' of points 'radius' distance away from it
|
|
GetPointOnGaussianCurve ( double peak, double centre, double width, double x ) : double |
Plots a gaussian curve, and returns the value of f(x) for the given x
|
|
GetRandomGaussian ( ) : double |
Gets a random number on a gaussian distribution with a mean 0.0 and standard deviation 1.0
|
|
HarvestResources ( ) : void |
Replaces certain resources with sites instead
|
|
MarkHillSlopes ( ) : void |
Marks certain places as having large slopes
|
메소드 | 설명 | |
---|---|---|
AssignRegionSizes ( ) : void |
Assigns each region a different height
|
|
AssignRegions ( ) : void |
Assigns each location to a different region
|
|
CreateSettlement ( bool capital, |
Puts settlement items on a particular location pertianing to a particular settlement.
|
|
ErodeWorld ( ) : void |
Erodes the world's elevation
|
|
GenerateBorder ( ) : void |
Generates the border, and sets the elevation to underwater
|
|
GeneratePathfindingMap ( |
||
GenerateRivers ( ) : void |
Generates a number of rivers according to the maximum river count assigned
|
|
Initialisation ( ) : void |
Initialises the World Map in preperation. Creates the regions with empty ones, and sets the default tile settings
|
|
RoughSmooth ( ) : void |
Runs a rough Interpolation on the world
|
public static DetermineDesirability ( |
||
block | ||
리턴 | int |
public static GetBlocksAroundPoint ( MapCoordinate centre, int radius ) : DRObjects.MapBlock[] | ||
centre | MapCoordinate | |
radius | int | |
리턴 | DRObjects.MapBlock[] |
public static GetCircleAroundPoint ( MapCoordinate centre, int radius ) : DRObjects.MapBlock[] | ||
centre | MapCoordinate | |
radius | int | |
리턴 | DRObjects.MapBlock[] |
public static GetPointOnGaussianCurve ( double peak, double centre, double width, double x ) : double | ||
peak | double | |
centre | double | |
width | double | |
x | double | |
리턴 | double |