Tileset Selector Builder
Builder for a Selector to change the tileset of multiple TilesetOverrides or Groups at runtime.
Types
Functions
build
Link copied to clipboard
createCopy
Link copied to clipboard
withCenteredText
Link copied to clipboard
fun withCenteredText(centerText: Boolean): SelectorBuilder<TilesetResource>
Content copied to clipboard
withClickableLabel
Link copied to clipboard
fun withClickableLabel(clickable: Boolean): SelectorBuilder<TilesetResource>
Content copied to clipboard
withDefaultSelected
Link copied to clipboard
fun withDefaultSelected(item: TilesetResource): SelectorBuilder<TilesetResource>
Content copied to clipboard
withGroups
Link copied to clipboard
fun withGroups(vararg groups: Group<out Component>): TilesetSelectorBuilder
Content copied to clipboard
Sets the given groups to be updated whenever the underlying Selector's Selector.selectedValue changes.
withPosition
Link copied to clipboard
override fun withPosition(position: Position): SelectorBuilder<TilesetResource>
Content copied to clipboard
override fun withPosition(x: Int, y: Int): SelectorBuilder<TilesetResource>
Content copied to clipboard
withTilesetOverrides
Link copied to clipboard
fun withTilesetOverrides(vararg tilesetOverrides: TilesetOverride): TilesetSelectorBuilder
Content copied to clipboard
Sets the given tilesetOverrides to be updated whenever the underlying Selector's Selector.selectedValue changes.
withToStringMethod
Link copied to clipboard
fun withToStringMethod(function: (TilesetResource) -> String): SelectorBuilder<TilesetResource>
Content copied to clipboard
Properties
Sources
(source)
Link copied to clipboard