CellCost

@Serializable
data class CellCost(val col: Int, val row: Int, val cost: Double)(source)

A per-cell traversal cost (terrain weight) carried by a GridGeometrySpec — TOML/JSON friendly.

Constructors

Link copied to clipboard
constructor(col: Int, row: Int, cost: Double)

Properties

Link copied to clipboard
val col: Int
Link copied to clipboard
Link copied to clipboard
val row: Int