Class InventoryOverlay

java.lang.Object
com.prineside.tdi2.ui.shared.InventoryOverlay
All Implemented Interfaces:
Disposable, UiManager.UiComponent

public final class InventoryOverlay extends Object implements Disposable, UiManager.UiComponent
  • Constructor Details

    • InventoryOverlay

      public InventoryOverlay()
  • Method Details

    • i

      public static InventoryOverlay i()
    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.utils.Disposable
      Releases all resources of this object.
      Specified by:
      dispose in interface Disposable
    • requireLayoutRebuild

      public void requireLayoutRebuild()
    • rebuildLayoutIfRequired

      public void rebuildLayoutIfRequired()
    • setSelectedItem

      public void setSelectedItem(ItemStack stack)
    • update

      public void update()
    • update

      public void update(float itemListScrollY)
    • hide

      public void hide()
      Specified by:
      hide in interface UiManager.UiComponent
    • isPersistent

      public boolean isPersistent()
      Description copied from interface: UiManager.UiComponent
      If true, won't be hidden by hideAllComponents() - useful for debug overlays
      Specified by:
      isPersistent in interface UiManager.UiComponent
    • preRender

      public void preRender(float deltaTime)
      Specified by:
      preRender in interface UiManager.UiComponent
    • postRender

      public void postRender(float deltaTime)
      Specified by:
      postRender in interface UiManager.UiComponent
    • show

      public void show()
    • hide

      public void hide(boolean showToggleButton)