```data class Shape(var location: Point, offsets: ...
# getting-started
k
Copy code
data class Shape(var location: Point, offsets: List<Point>) {
    val tiles
        get() = offsets.map { it + location }
}
something like this.