Skip to main content

MapForEachXYInRange

Callable

  • MapForEachXYInRange(x, y, range, cb): void

  • Visit each tile in the square from (x, y) through (x + range, y + range), inclusive.


    Parameters

    • x: number
    • y: number
    • range: number
    • cb: (x, y) => void

      Returns void