Block Builder
data class BlockBuilder<T : Tile>(emptyTile: Maybe<T>, tiles: MutableMap<BlockTileType, T>) : Builder<Block<T>>
Content copied to clipboard
Builds Blocks. Has no Tiles for either sides by default. Setting an emptyTile is mandatory and has no default.
Constructors
BlockBuilder
Link copied to clipboard
fun <T : Tile> BlockBuilder(emptyTile: Maybe<T> = Maybe.empty(), tiles: MutableMap<BlockTileType, T> = mutableMapOf())
Content copied to clipboard
Types
Functions
copy
Link copied to clipboard
fun copy(emptyTile: Maybe<T> = Maybe.empty(), tiles: MutableMap<BlockTileType, T> = mutableMapOf()): BlockBuilder<T>
Content copied to clipboard
createCopy
Link copied to clipboard
withBack
Link copied to clipboard
withBottom
Link copied to clipboard
withContent
Link copied to clipboard
withEmptyTile
Link copied to clipboard
withFront
Link copied to clipboard
withLeft
Link copied to clipboard
withRight
Link copied to clipboard
withTileOnAllSides
Link copied to clipboard
withTiles
Link copied to clipboard
withTop
Link copied to clipboard
Sources
(source)
Link copied to clipboard