getDistanceToTilesWithinTurn

fun getDistanceToTilesWithinTurn(origin: Vector2, unitMovement: Float, considerZoneOfControl: Boolean = true): PathsToTilesWithinTurn

Does not consider if tiles can actually be entered, use canMoveTo for that. If a tile can be reached within the turn, but it cannot be passed through, the total distance to it is set to unitMovement

Sources

jvm source
Link copied to clipboard