MapFormat.loadSprites

Loads the sprites associated with the layer ID.

class MapFormat
@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 production-made games as long as the limitations don't intercept anything major.

Meta