TileComposite

interface TileComposite : HasSize

Represents an object which is composed of Tiles and has a Size.

Functions

equals
Link copied to clipboard
common
open operator 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 fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

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

Inheritors

CharacterTileString
Link copied to clipboard
DrawSurface
Link copied to clipboard
TileImage
Link copied to clipboard
DefaultTileComposite
Link copied to clipboard

Sources

(source)
Link copied to clipboard