hex-world
    Preparing search index...

    Function edgeTypeOf

    • How the ground between two cells is built: 0 flat, 1 terraced slope, 2 cliff. Exported because anything that has to meet the side of a bridge has to know which of the three it is — only a terraced one has steps to follow.

      Parameters

      • e1: number
      • e2: number

      Returns number