DefaultTileComposite

data class DefaultTileComposite(tiles: Map<Position, Tile>, size: Size) : TileComposite

Functions

component1
Link copied to clipboard
common
operator fun component1(): Map<Position, Tile>
component2
Link copied to clipboard
common
operator fun component2(): Size
copy
Link copied to clipboard
common
fun copy(tiles: Map<Position, Tile>, size: Size): DefaultTileComposite
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
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

foo
Link copied to clipboard
common
val foo: List<String>
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