Skip to main content

ChatRoomMapViewCoordinatesToIndex

Callable

  • ChatRoomMapViewCoordinatesToIndex(x: number, y: number): number

  • Gets coordinates in X and Y and returns the corrosponding index number for the tile and object list


    Parameters

    • x: number

      X-coordinate to be translated

    • y: number

      Y-coordinate to be translated

    Returns number

    • Index number for the tile and object lists