C# Class Generator

Mostra file Open project: jongallant/WorldGeneratorFinal Class Usage Examples

Protected Properties

Property Type Description
BiomeMapRenderer MeshRenderer
BiomeTable ].BiomeType[
Clouds1 MapData
Clouds2 MapData
HeatData MapData
HeatMapRenderer MeshRenderer
HeightData MapData
HeightMapRenderer MeshRenderer
Lands List
MoistureData MapData
MoistureMapRenderer MeshRenderer
RiverGroups List
Rivers List
Seed int
Tiles ].Tile[
Waters List

Public Methods

Method Description
GetBiomeType ( Tile tile ) : BiomeType
GetHeightValue ( Tile tile ) : float

Protected Methods

Method Description
Generate ( ) : void
GetBottom ( Tile tile ) : Tile
GetData ( ) : void
GetLeft ( Tile tile ) : Tile
GetRight ( Tile tile ) : Tile
GetTop ( Tile tile ) : Tile
Initialize ( ) : void
Instantiate ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
AddMoisture ( Tile, t, float amount ) : void
AddMoisture ( Tile, t, int radius ) : void
AdjustMoistureMap ( ) : void
BuildRiverGroups ( ) : void
DigRiver ( River river ) : void
DigRiver ( River river, River parent ) : void
DigRiverGroups ( ) : void
FindPathToWater ( Tile tile, Direction direction, River &river ) : void
FloodFill ( ) : void
FloodFill ( Tile tile, TileGroup &tiles, Stack &stack ) : void
GenerateBiomeMap ( ) : void
GenerateRivers ( ) : void
LoadTiles ( ) : void
UpdateBiomeBitmask ( ) : void
UpdateBitmasks ( ) : void
UpdateNeighbors ( ) : void

Method Details

Generate() protected method

protected Generate ( ) : void
return void

GetBiomeType() public method

public GetBiomeType ( Tile tile ) : BiomeType
tile Tile
return BiomeType

GetBottom() protected abstract method

protected abstract GetBottom ( Tile tile ) : Tile
tile Tile
return Tile

GetData() protected abstract method

protected abstract GetData ( ) : void
return void

GetHeightValue() public method

public GetHeightValue ( Tile tile ) : float
tile Tile
return float

GetLeft() protected abstract method

protected abstract GetLeft ( Tile tile ) : Tile
tile Tile
return Tile

GetRight() protected abstract method

protected abstract GetRight ( Tile tile ) : Tile
tile Tile
return Tile

GetTop() protected abstract method

protected abstract GetTop ( Tile tile ) : Tile
tile Tile
return Tile

Initialize() protected abstract method

protected abstract Initialize ( ) : void
return void

Instantiate() protected method

protected Instantiate ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

Property Details

BiomeMapRenderer protected_oe property

protected MeshRenderer BiomeMapRenderer
return MeshRenderer

BiomeTable protected_oe property

protected BiomeType[,] BiomeTable
return ].BiomeType[

Clouds1 protected_oe property

protected MapData Clouds1
return MapData

Clouds2 protected_oe property

protected MapData Clouds2
return MapData

HeatData protected_oe property

protected MapData HeatData
return MapData

HeatMapRenderer protected_oe property

protected MeshRenderer HeatMapRenderer
return MeshRenderer

HeightData protected_oe property

protected MapData HeightData
return MapData

HeightMapRenderer protected_oe property

protected MeshRenderer HeightMapRenderer
return MeshRenderer

Lands protected_oe property

protected List Lands
return List

MoistureData protected_oe property

protected MapData MoistureData
return MapData

MoistureMapRenderer protected_oe property

protected MeshRenderer MoistureMapRenderer
return MeshRenderer

RiverGroups protected_oe property

protected List RiverGroups
return List

Rivers protected_oe property

protected List Rivers
return List

Seed protected_oe property

protected int Seed
return int

Tiles protected_oe property

protected Tile[,] Tiles
return ].Tile[

Waters protected_oe property

protected List Waters
return List