C# Class Tile

Mostrar archivo Open project: jongallant/WorldGeneratorFinal Class Usage Examples

Public Properties

Property Type Description
BiomeBitmask int
BiomeType BiomeType
Bitmask int
Bottom Tile,
Collidable bool
Color 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
GetLowestNeighbor ( Generator generator ) : Direction
GetRiverNeighborCount ( River river ) : int
SetRiverPath ( River river ) : void
Tile ( ) : UnityEngine
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

GetLowestNeighbor() public method

public GetLowestNeighbor ( Generator generator ) : Direction
generator Generator
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 ( ) : UnityEngine
return UnityEngine

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, Bottom
return Tile,

Collidable public_oe property

public bool Collidable
return bool

Color public_oe property

public Color Color
return 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 Left
return Tile

MoistureType public_oe property

public MoistureType MoistureType
return MoistureType

Right public_oe property

public Tile Right
return Tile

Rivers public_oe property

public List Rivers
return List

Top public_oe property

public Tile Top
return Tile

X public_oe property

public int X
return int