C# Class AlbLib.Mapping.IconGraphics

Used for loading tile images.
Exibir arquivo Open project: IllidanS4/AlbLib

Public Methods

Method Description
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.

Private Methods

Method Description
LoadTileset ( int index ) : RawImage[]

Method Details

GetTile() public static method

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. ///
return AlbLib.Imaging.RawImage

GetTileGraphics() public static method

public static GetTileGraphics ( int tileset, int grindex ) : RawImage
tileset int
grindex int
return AlbLib.Imaging.RawImage

GetTileOverlay() public static method

Returns image representing overlay portion of tile.
public static GetTileOverlay ( int tileset, Tile tile ) : RawImage
tileset int /// Zero-based tileset index. ///
tile Tile /// Tile. ///
return AlbLib.Imaging.RawImage

GetTileUnderlay() public static method

Returns image representing underlay portion of tile.
public static GetTileUnderlay ( int tileset, Tile tile ) : RawImage
tileset int /// Zero-based tileset index. ///
tile Tile /// Tile. ///
return AlbLib.Imaging.RawImage

GetTileset() public static method

Loads tileset as an array of RawImages.
public static GetTileset ( int index ) : AlbLib.Imaging.RawImage[]
index int /// Zero-based tileset index. ///
return AlbLib.Imaging.RawImage[]