Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HUDAccessor

Interface to access hud elements

Hierarchy

  • HUDAccessor

Index

Constructors

constructor

  • Parameters

    • root: any

    Returns HUDAccessor

Methods

anyTooltipIsOpen

  • anyTooltipIsOpen(): any
  • Returns if any ingame tooltip is open

    Returns any

buildingTooltipGetBuilding

  • buildingTooltipGetBuilding(): any
  • Returns the current building of the building tooltip

    Returns any

buildingTooltipGetEnhancementButton

  • buildingTooltipGetEnhancementButton(): any
  • Returns the first enhancement button or null if not found

    Returns any

buildingTooltipIsOpen

  • buildingTooltipIsOpen(): any
  • Returns if the building tooltip is open currently

    Returns any

buildingsToolbarGetCategoryElement

  • buildingsToolbarGetCategoryElement(categoryId: any): any
  • Returns the element for the given category in the buildings toolbar

    Parameters

    • categoryId: any

    Returns any

categoryDialogGetCategory

  • categoryDialogGetCategory(): any
  • Returns the current category of the buildings category dialog

    Returns any

categoryDialogGetElementForBuilding

  • categoryDialogGetElementForBuilding(metaClass: any): any
  • Gets the element for the given building of the category dialog

    Parameters

    • metaClass: any

    Returns any

categoryDialogIsOpen

  • categoryDialogIsOpen(): any
  • Returns if the buildings category dialog is open

    Returns any

gameSpeedUiGetRegularSpeedButton

  • gameSpeedUiGetRegularSpeedButton(): any
  • Returns the button of the game speed bar to toggle regular speed

    Returns any

gameStatsUiGetCrystalsELement

  • gameStatsUiGetCrystalsELement(): any
  • Returns the crystals display element

    Returns any

internalGetBuildingTooltip

  • internalGetBuildingTooltip(): any
  • Returns any

internalGetBuildingsCategoryDialog

  • internalGetBuildingsCategoryDialog(): any
  • Returns any

internalGetBuildingsToolbar

  • internalGetBuildingsToolbar(): any
  • Returns any

internalGetGameSpeedUi

  • internalGetGameSpeedUi(): any
  • Returns any

internalGetGameStatsUi

  • internalGetGameStatsUi(): any
  • Returns any

internalGetPlacementUi

  • internalGetPlacementUi(): any
  • Returns any

isIngameOverlayOpen

  • isIngameOverlayOpen(): any
  • Returns if there is any ingame overlay open which is not fully modal

    Returns any

placementUiGetAcceptButton

  • placementUiGetAcceptButton(): any
  • Returns the button to accept placement

    Returns any

placementUiGetCurrentTile

  • placementUiGetCurrentTile(): any
  • Gets the current tile while placing a building

    Returns any

placementUiGetPlacedMetaclass

  • placementUiGetPlacedMetaclass(): any
  • Returns the current meta class which we are placing, or null if not placing

    Returns any

placementUiIsDragging

  • placementUiIsDragging(): any
  • Returns if the placement ui is currently dragging

    Returns any

placementUiIsVisible

  • placementUiIsVisible(): any
  • Returns if the placement ui is visible

    Returns any