So, actual code, because maybe this might help is ...
# getting-started
h
So, actual code, because maybe this might help is
Copy code
class World(private val tiles: Array<Array<Tile>>, var width: Int, var height: Int) {

    init {
        this.width = tiles.size
        this.height = tiles[0].size
    }
}