Companion

object Companion

Functions

createCharacterTile
Link copied to clipboard
common
fun createCharacterTile(character: Char, style: StyleSet): CharacterTile
Creates a new CharacterTile.
createGraphicTile
Link copied to clipboard
common
fun createGraphicTile(name: String, tags: Set<String>, tileset: TilesetResource = RuntimeConfig.config.defaultGraphicalTileset): GraphicalTile
Creates a new GraphicalTile.
createImageTile
Link copied to clipboard
common
fun createImageTile(name: String, tileset: TilesetResource): ImageTile
Creates a new ImageTile.
defaultTile
Link copied to clipboard
common
fun defaultTile(): CharacterTile
Shorthand for the default character which is:
  • a space character

  • with default foreground

  • and default background

  • and no modifiers.

empty
Link copied to clipboard
common
fun empty(): CharacterTile
Shorthand for an empty character tile which is:
  • a space character

  • with transparent foreground

  • and transparent background

  • and no modifiers.

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
newBuilder
Link copied to clipboard
common
fun newBuilder(): TileBuilder
Creates a new TileBuilder for creating Tiles.
toString
Link copied to clipboard
common
open fun toString(): String

Sources

(source)
Link copied to clipboard