Skip to main content

ToolHUD

Index

Variables

constWindow

Window: UI.Window

constbuttons

buttons: {}

Type declaration

container

container: any

currentUIscreen

currentUIscreen: string

Functions

getButton

onClick

  • onClick(name: string): void
  • Parameters

    • name: string

    Returns void

registerButton

setArmorButton

  • setArmorButton(id: number, name: string): void
  • That feature is obsolete

    Parameters

    • id: number
    • name: string

    Returns void

setButtonFor

  • setButtonFor(id: number, name: string): void
  • Parameters

    • id: number
    • name: string

    Returns void