Companion

object Companion

Functions

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