isCoverableCoastMask
isCoverableCoastMask(
edges):boolean
Defined in: packages/declarative-hex-worlds/src/selectors/selectors.ts:260
True if mask is coverable by a coast tile — i.e. it is 0 (no coast) or a
rotation of some COAST_VARIANT canonical mask (a CONTIGUOUS run of 1-5 water
edges). Non-contiguous masks (e.g. 0b010101 from edges [0,2,4]) have no coast
tile: a single hex tile can only depict one unbroken coastline arc.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”boolean