BoxBuilder

data class BoxBuilder(tileset: TilesetResource, size: Size, style: StyleSet, boxType: BoxType) : Builder<Box>

Types

Companion
Link copied to clipboard
common
object Companion

Functions

build
Link copied to clipboard
common
open override fun build(): Box
Builds an object of type T.
copy
Link copied to clipboard
common
fun copy(tileset: TilesetResource = RuntimeConfig.config.defaultTileset, size: Size = Size.create(3, 3), style: StyleSet = StyleSet.defaultStyle(), boxType: BoxType = BoxType.BASIC): BoxBuilder
createCopy
Link copied to clipboard
common
open override fun createCopy(): BoxBuilder
Creates a deep copy of this object.
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String
withBoxType
Link copied to clipboard
common
fun withBoxType(boxType: BoxType): BoxBuilder
Sets the BoxType for the resulting org.hexworks.zircon.api.graphics.Box.
withSize
Link copied to clipboard
common
fun withSize(size: Size): BoxBuilder
Sets the size for the new org.hexworks.zircon.api.graphics.Box.
withStyle
Link copied to clipboard
common
fun withStyle(style: StyleSet): BoxBuilder
Sets the style for the resulting org.hexworks.zircon.api.graphics.Box.
withTileset
Link copied to clipboard
common
fun withTileset(tileset: TilesetResource): BoxBuilder

Sources

(source)
Link copied to clipboard