TileSource class

a model representing the source data of a tile.

Constructors

TileSource({required Tileset tileset, SpriteIndex? spriteIndex, Image? spriteAtlas, RasterTileset rasterTileset = const RasterTileset(tiles: {})})

Properties

hashCode int
The hash code for this object.
no setterinherited
rasterTileset RasterTileset
the raster tileset of the tile, for raster layers of the theme.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spriteAtlas Image?
The optional sprite atlas, which provides sprites referenced by the theme. If absent, sprites are ignored when rendering.
final
spriteIndex SpriteIndex?
The optional sprite index, which provides sprites referenced by the theme. If absent, sprites are ignored when rendering.
final
tileset Tileset
the tileset of the tile
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited