Skip to main content

Module brush

Module brush 

Source
Expand description

Tile map brush is a set of tiles arranged in arbitrary shape, that can be used to draw on a tile map. A brush resembles a tile set in that they are both collections of tiles, but they are distinct because a brush can be freely organized to suit whatever is most convenient while editing a tile map. The tiles of a brush can be moved at any time without consequence, and so can the pages. A brush is like a painter’s toolbox, where the sole purpose is to serve the painter’s convenience.

In contrast, a tile set is a directory for finding tile data according to a specific position on a specific page. Tiles can be moved in a tile set, but doing so will affect the lookup of tile data.

Structs§

BrushMacroData
A brush can have zero or more instances of a macro, and each instance has its own configuration data.
BrushMacroInstanceList
Collection of additional data that can be stored in a brush for the purposes of tile map macros. The meaning of the data is determined by matching the UUID with the UUID of some macro or other user, and it is up to the user to determine the type of the resource.
TileMapBrush
Tile map brush is a set of tiles arranged in arbitrary shape, that can be used to draw on a tile map.
TileMapBrushLoader
Standard tile map brush loader.
TileMapBrushPage
A page of tiles within a brush. Having multiple pages allows a brush to be optimized for use in multiple contexts.

Enums§

TileMapBrushResourceError
An error that may occur during tile map brush resource loading.

Type Aliases§

TileMapBrushResource
An alias to Resource<TileMapBrush>.