Skip to main content

DrawPreviewIcons

Callable

  • DrawPreviewIcons(icons: readonly InventoryIcon[], X: number, Y: number): void

  • Draws a list of small icons over a preview box


    Parameters

    • icons: readonly InventoryIcon[]

      An array of icon names

    • X: number

      The X co-ordinate to start drawing from

    • Y: number

      The Y co-ordinate to start drawing from

    Returns void

    • Nothing