TileSource

interface TileSource<T : Any> : Function1<TileIndex, Tile<T>>

A class which takes in a function for returning a tile image (in the form of a Result) for a given TileIndex

Functions

Link copied to clipboard
abstract operator fun invoke(p1: TileIndex): Tile<T>