Function createMap

  • Create a co-ordinate grid

    Type Parameters

    • T

    Parameters

    • maxX: number

      The maximum X value.

    • maxY: number

      The maximum Y value.

    • initialValue: T

      The default value for all cells.

    • minX: number = 0

      (Optional) The minimum X value, defaults to 0

    • minY: number = 0

      (Optional) The minimum Y value, defaults to 0

    Returns Map<T>

Generated using TypeDoc