C# Класс MapTile, SRPGCK

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
baselines int[]
cornerInsets float[]
heights int[]
invisible bool
serializeHackUsable bool
sideInsets float[]
tileSpecs int[]
x int

Открытые методы

Метод Описание
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

Описание методов

AdjustHeightOnSides() публичный Метод

public AdjustHeightOnSides ( int ht, Neighbors, mask, bool top, MapTile, next ) : void
ht int
mask Neighbors,
top bool
next MapTile,
Результат void

AdjustTileSpecsAfterRemoving() публичный Метод

public AdjustTileSpecsAfterRemoving ( int i ) : void
i int
Результат void

ContainsZ() публичный Метод

public ContainsZ ( int zed ) : bool
zed int
Результат bool

HighestHeightAt() публичный Метод

public HighestHeightAt ( Neighbors, side ) : float
side Neighbors,
Результат float

InsetCorner() публичный Метод

public InsetCorner ( float inset, Corners, corner ) : void
inset float
corner Corners,
Результат void

InsetSides() публичный Метод

public InsetSides ( float inset, Neighbors, mask ) : void
inset float
mask Neighbors,
Результат void

IsAboveZ() публичный Метод

public IsAboveZ ( int zed ) : bool
zed int
Результат bool

LowestHeightAt() публичный Метод

public LowestHeightAt ( Neighbors, side ) : float
side Neighbors,
Результат float

MapTile() публичный Метод

public MapTile ( int x, int y, int z ) : System
x int
y int
z int
Результат System

SetTileSpecOnSides() публичный Метод

public SetTileSpecOnSides ( int spec, Neighbors, mask ) : void
spec int
mask Neighbors,
Результат void

Описание свойств

baselines публичное свойство

public int[] baselines
Результат int[]

cornerInsets публичное свойство

public float[] cornerInsets
Результат float[]

heights публичное свойство

public int[] heights
Результат int[]

invisible публичное свойство

public bool invisible
Результат bool

serializeHackUsable публичное свойство

public bool serializeHackUsable
Результат bool

sideInsets публичное свойство

public float[] sideInsets
Результат float[]

tileSpecs публичное свойство

public int[] tileSpecs
Результат int[]

x публичное свойство

public int x
Результат int