Returns true if the state and the hotspot intersect.

  • Parameters

    • state: CellState
    • x: number

      X-coordinate.

    • y: number

      Y-coordinate.

    • hotspot: number

      Optional size of the hostpot.

    • min: number

      Optional min size of the hostpot.

    • max: number

      Optional max size of the hostpot.

    Returns boolean