hex-world
    Preparing search index...

    Function hasBridge

    • True when a road crosses the river inside this cell — the river runs through it and there is road on both banks. This is the cell the chunk builder spans with a deck, and the cell a land unit can cross dry-shod.

      A road that reaches a river cell from one side and stops there is a jetty, not a crossing, and gets no deck.

      Parameters

      • map: HexMap
      • col: number
      • row: number

      Returns boolean