Companion

object Companion

Functions

Link copied to clipboard
inline fun fromString(maps: Map<Char, Short>, default: Short, code: String, marginChar: Char = '\u0000'): ShortArray2
Link copied to clipboard
inline operator fun invoke(rows: List<List<Short>>): ShortArray2
inline operator fun invoke(width: Int, height: Int, gen: (n: Int) -> Short): ShortArray2
inline operator fun invoke(width: Int, height: Int, fill: Short): ShortArray2
inline operator fun invoke(map: String, marginChar: Char = '\u0000', gen: (char: Char, x: Int, y: Int) -> Short): ShortArray2
inline operator fun invoke(map: String, default: Short, transform: Map<Char, Short>): ShortArray2
Link copied to clipboard
inline fun withGen(width: Int, height: Int, gen: (x: Int, y: Int) -> Short): ShortArray2