C# Class AlbLib.Mapping.IconGraphics

Used for loading tile images.
Afficher le fichier Open project: IllidanS4/AlbLib

Méthodes publiques

Méthode 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

Méthode Description
LoadTileset ( int index ) : RawImage[]

Method Details

GetTile() public static méthode

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. ///
Résultat AlbLib.Imaging.RawImage

GetTileGraphics() public static méthode

public static GetTileGraphics ( int tileset, int grindex ) : RawImage
tileset int
grindex int
Résultat AlbLib.Imaging.RawImage

GetTileOverlay() public static méthode

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

GetTileUnderlay() public static méthode

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

GetTileset() public static méthode

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