C# Class SadConsole.Game.WorldGeneration.Tile

Mostra file Open project: Thraka/SadConsole Class Usage Examples

Public Properties

Property Type Description
BiomeBitmask int
BiomeType BiomeType
Bitmask int
Bottom Tile
Collidable bool
Color Microsoft.Xna.Framework.Color
FloodFilled bool
HeatType HeatType
HeightType HeightType
Left Tile
MoistureType MoistureType
Right Tile
Rivers List
Top Tile
X int

Public Methods

Method Description
DigRiver ( River river, int size ) : void
GetHeightValue ( Tile tile ) : float
GetLowestNeighbor ( ) : Direction
GetRiverNeighborCount ( River river ) : int
SetRiverPath ( River river ) : void
Tile ( ) : System.Collections.Generic
UpdateBiomeBitmask ( ) : void
UpdateBitmask ( ) : void

Private Methods

Method Description
SetRiverTile ( River river ) : void

Method Details

DigRiver() public method

public DigRiver ( River river, int size ) : void
river River
size int
return void

GetHeightValue() public static method

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

GetLowestNeighbor() public method

public GetLowestNeighbor ( ) : Direction
return Direction

GetRiverNeighborCount() public method

public GetRiverNeighborCount ( River river ) : int
river River
return int

SetRiverPath() public method

public SetRiverPath ( River river ) : void
river River
return void

Tile() public method

public Tile ( ) : System.Collections.Generic
return System.Collections.Generic

UpdateBiomeBitmask() public method

public UpdateBiomeBitmask ( ) : void
return void

UpdateBitmask() public method

public UpdateBitmask ( ) : void
return void

Property Details

BiomeBitmask public_oe property

public int BiomeBitmask
return int

BiomeType public_oe property

public BiomeType BiomeType
return BiomeType

Bitmask public_oe property

public int Bitmask
return int

Bottom public_oe property

public Tile,SadConsole.Game.WorldGeneration Bottom
return Tile

Collidable public_oe property

public bool Collidable
return bool

Color public_oe property

public Color,Microsoft.Xna.Framework Color
return Microsoft.Xna.Framework.Color

FloodFilled public_oe property

public bool FloodFilled
return bool

HeatType public_oe property

public HeatType HeatType
return HeatType

HeightType public_oe property

public HeightType HeightType
return HeightType

Left public_oe property

public Tile,SadConsole.Game.WorldGeneration Left
return Tile

MoistureType public_oe property

public MoistureType MoistureType
return MoistureType

Right public_oe property

public Tile,SadConsole.Game.WorldGeneration Right
return Tile

Rivers public_oe property

public List Rivers
return List

Top public_oe property

public Tile,SadConsole.Game.WorldGeneration Top
return Tile

X public_oe property

public int X
return int