C# Класс AlbLib.Mapping.IconGraphics

Used for loading tile images.
Показать файл Открыть проект

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

Метод Описание
GetTile ( int tileset, int index ) : RawImage

Gets tile graphics using tile index.

GetTileGraphics ( int tileset, int grindex ) : RawImage
GetTileOverlay ( int tileset, Tile tile ) : RawImage

Returns image representing overlay portion of tile.

GetTileUnderlay ( int tileset, Tile tile ) : RawImage

Returns image representing underlay portion of tile.

GetTileset ( int index ) : AlbLib.Imaging.RawImage[]

Loads tileset as an array of RawImages.

Приватные методы

Метод Описание
LoadTileset ( int index ) : RawImage[]

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

GetTile() публичный статический Метод

Gets tile graphics using tile index.
public static GetTile ( int tileset, int index ) : RawImage
tileset int /// Zero-based tileset index. ///
index int /// Overlay or underlay. ///
Результат AlbLib.Imaging.RawImage

GetTileGraphics() публичный статический Метод

public static GetTileGraphics ( int tileset, int grindex ) : RawImage
tileset int
grindex int
Результат AlbLib.Imaging.RawImage

GetTileOverlay() публичный статический Метод

Returns image representing overlay portion of tile.
public static GetTileOverlay ( int tileset, Tile tile ) : RawImage
tileset int /// Zero-based tileset index. ///
tile Tile /// Tile. ///
Результат AlbLib.Imaging.RawImage

GetTileUnderlay() публичный статический Метод

Returns image representing underlay portion of tile.
public static GetTileUnderlay ( int tileset, Tile tile ) : RawImage
tileset int /// Zero-based tileset index. ///
tile Tile /// Tile. ///
Результат AlbLib.Imaging.RawImage

GetTileset() публичный статический Метод

Loads tileset as an array of RawImages.
public static GetTileset ( int index ) : AlbLib.Imaging.RawImage[]
index int /// Zero-based tileset index. ///
Результат AlbLib.Imaging.RawImage[]