Table of Contents

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

uint

NumLayers

Number of layers in the map

uint NumLayers { get; }

Property Value

uint

ScaleX

X Scale of the tiles

float ScaleX { get; }

Property Value

float

ScaleY

Y Scale of the tiles

float ScaleY { get; }

Property Value

float

Width

Width in pixels of the map

uint Width { get; }

Property Value

uint

Methods

FetchLayer(uint)

Get the layer data for the specified layer

ILayer FetchLayer(uint layer)

Parameters

layer uint

layer to get tiles for

Returns

ILayer

Array of tiles

FetchPalette(uint)

Fetch tile palette for the map

TilePaletteStore FetchPalette(uint layer)

Parameters

layer uint

layer to get tiles for

Returns

TilePaletteStore

Tile palette storage