MapFormat.loadSprites

Loads the sprites associated with the layer ID.

class MapFormat
public @trusted
ABitmap[int]
loadSprites

Parameters

layerID int

the ID of the layer.

paletteTarget PaletteContainer

target for any loaded palettes, ideally the raster.

Return Value

Type: ABitmap[int]

An associative array with sprite identifiers as the keys, and the sprite bitmaps as its elements. Note: It's mainly intended for editor placeholders, but also could work with other things.

Meta