Interface ITileMap
- Namespace
- RetroEditor.Plugins
- Assembly
- RetroEditor.dll
Interface for a tile map - used by the TileMapWidget class
public interface ITileMap
Properties
Height
Height in pixels of the map
uint Height { get; }
Property Value
NumLayers
Number of layers in the map
uint NumLayers { get; }
Property Value
ScaleX
X Scale of the tiles
float ScaleX { get; }
Property Value
ScaleY
Y Scale of the tiles
float ScaleY { get; }
Property Value
Width
Width in pixels of the map
uint Width { get; }
Property Value
Methods
FetchLayer(uint)
Get the layer data for the specified layer
ILayer FetchLayer(uint layer)
Parameters
layer
uintlayer to get tiles for
Returns
- ILayer
Array of tiles
FetchPalette(uint)
Fetch tile palette for the map
TilePaletteStore FetchPalette(uint layer)
Parameters
layer
uintlayer to get tiles for
Returns
- TilePaletteStore
Tile palette storage