Maps a distance value onto individual room tile positions.

Methods

  • Returns void

  • Gets the distance value at a given position.

    Parameters

    • x: number
    • y: number

    Returns number

  • Sets the distance value at a given position.

    Parameters

    • x: number
    • y: number
    • value: number

    Returns void

  • Converts the distance map into a flat array of distances.

    Returns Uint32Array<ArrayBufferLike>