C# Class MapTile, SRPGCK

Datei anzeigen Open project: JoeOsborn/SRPGCK Class Usage Examples

Public Properties

Property Type Description
baselines int[]
cornerInsets float[]
heights int[]
invisible bool
serializeHackUsable bool
sideInsets float[]
tileSpecs int[]
x int

Public Methods

Method Description
AdjustHeightOnSides ( int ht, Neighbors, mask, bool top, MapTile, next ) : void
AdjustTileSpecsAfterRemoving ( int i ) : void
ContainsZ ( int zed ) : bool
HighestHeightAt ( Neighbors, side ) : float
InsetCorner ( float inset, Corners, corner ) : void
InsetSides ( float inset, Neighbors, mask ) : void
IsAboveZ ( int zed ) : bool
LowestHeightAt ( Neighbors, side ) : float
MapTile ( int x, int y, int z ) : System
SetTileSpecOnSides ( int spec, Neighbors, mask ) : void

Method Details

AdjustHeightOnSides() public method

public AdjustHeightOnSides ( int ht, Neighbors, mask, bool top, MapTile, next ) : void
ht int
mask Neighbors,
top bool
next MapTile,
return void

AdjustTileSpecsAfterRemoving() public method

public AdjustTileSpecsAfterRemoving ( int i ) : void
i int
return void

ContainsZ() public method

public ContainsZ ( int zed ) : bool
zed int
return bool

HighestHeightAt() public method

public HighestHeightAt ( Neighbors, side ) : float
side Neighbors,
return float

InsetCorner() public method

public InsetCorner ( float inset, Corners, corner ) : void
inset float
corner Corners,
return void

InsetSides() public method

public InsetSides ( float inset, Neighbors, mask ) : void
inset float
mask Neighbors,
return void

IsAboveZ() public method

public IsAboveZ ( int zed ) : bool
zed int
return bool

LowestHeightAt() public method

public LowestHeightAt ( Neighbors, side ) : float
side Neighbors,
return float

MapTile() public method

public MapTile ( int x, int y, int z ) : System
x int
y int
z int
return System

SetTileSpecOnSides() public method

public SetTileSpecOnSides ( int spec, Neighbors, mask ) : void
spec int
mask Neighbors,
return void

Property Details

baselines public_oe property

public int[] baselines
return int[]

cornerInsets public_oe property

public float[] cornerInsets
return float[]

heights public_oe property

public int[] heights
return int[]

invisible public_oe property

public bool invisible
return bool

serializeHackUsable public_oe property

public bool serializeHackUsable
return bool

sideInsets public_oe property

public float[] sideInsets
return float[]

tileSpecs public_oe property

public int[] tileSpecs
return int[]

x public_oe property

public int x
return int