DefaultCharacterTileString

data class DefaultCharacterTileString(characterTiles: List<CharacterTile>, size: Size, textWrap: TextWrap) : CharacterTileString, Iterable<CharacterTile>

Functions

component1
Link copied to clipboard
common
operator fun component1(): List<CharacterTile>
component2
Link copied to clipboard
common
operator fun component2(): Size
copy
Link copied to clipboard
common
fun copy(characterTiles: List<CharacterTile>, size: Size, textWrap: TextWrap): DefaultCharacterTileString
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
getTileAt
Link copied to clipboard
common
open fun getTileAt(position: Position): Maybe<Tile>
Returns the Tile stored at a particular position in this TileComposite.
getTileAtOrNull
Link copied to clipboard
common
open fun getTileAtOrNull(position: Position): Tile?
Returns the Tile stored at a particular position or null if there is no such Tile.
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
iterator
Link copied to clipboard
common
open operator override fun iterator(): Iterator<CharacterTile>
plus
Link copied to clipboard
common
open operator override fun plus(other: CharacterTileString): DefaultCharacterTileString
Creates a new CharacterTileString which contains the contents of this one and the other one.
toString
Link copied to clipboard
common
open override fun toString(): String
withSize
Link copied to clipboard
common
open override fun withSize(size: Size): CharacterTileString
Returns a new CharacterTileString with the given size using the contents of this one.

Properties

characterTiles
Link copied to clipboard
common
open override val characterTiles: List<CharacterTile>
height
Link copied to clipboard
common
open override val height: Int
size
Link copied to clipboard
common
open override val size: Size
tiles
Link copied to clipboard
common
open override val tiles: Map<Position, Tile>
The Tiles this TileComposite contains.
width
Link copied to clipboard
common
open override val width: Int

Sources

(source)
Link copied to clipboard