Skip to main content

ChatRoomMapViewIndexToCoordinates

Callable

  • ChatRoomMapViewIndexToCoordinates(index: number): { x: number; y: number }

  • Gets a index number for the tile and obejct lists and returns the corrosponting coordinates in X and Y


    Parameters

    • index: number

      Index number for the tile and object lists

    Returns { x: number; y: number }

    • Object containing the resulting x and y coordinates.
    • x: number
    • y: number