You showed: ``` private val positionsById = BoardP...
# tornadofx
h
You showed:
Copy code
private val positionsById = BoardPositions::class.java.getResource("positions.csv").readText().lines()
            .asSequence()
            .map { it.split(",") }
            .map { Position(it[0].toInt(), it[1].toDouble(), it[2].toDouble()) }
            .toMap()
Which I don't think would even compile?