Package com.prineside.tdi2.ui.shared
Class InventoryOverlay
java.lang.Object
com.prineside.tdi2.ui.shared.InventoryOverlay
- All Implemented Interfaces:
Disposable,UiManager.UiComponent
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.prineside.tdi2.managers.UiManager.UiComponent
UiManager.UiComponent.Adapter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Releases all resources of this object.voidhide()voidhideWithToggleButton(boolean showToggleButton) static InventoryOverlayi()booleanIf true, won't be hidden by hideAllComponents() - useful for debug overlaysvoidpostRender(float deltaTime) voidpreRender(float deltaTime) voidvoidvoidsetSelectedItem(ItemStack stack) voidshow()voidupdate()voidupdateAndScroll(float itemListScrollY)
-
Constructor Details
-
InventoryOverlay
public InventoryOverlay()
-
-
Method Details
-
i
-
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
disposein interfaceDisposable
-
requireLayoutRebuild
public void requireLayoutRebuild() -
rebuildLayoutIfRequired
public void rebuildLayoutIfRequired() -
setSelectedItem
-
update
public void update() -
updateAndScroll
public void updateAndScroll(float itemListScrollY) -
hide
public void hide()- Specified by:
hidein interfaceUiManager.UiComponent
-
isPersistent
public boolean isPersistent()Description copied from interface:UiManager.UiComponentIf true, won't be hidden by hideAllComponents() - useful for debug overlays- Specified by:
isPersistentin interfaceUiManager.UiComponent
-
preRender
public void preRender(float deltaTime) - Specified by:
preRenderin interfaceUiManager.UiComponent
-
postRender
public void postRender(float deltaTime) - Specified by:
postRenderin interfaceUiManager.UiComponent
-
show
public void show() -
hideWithToggleButton
public void hideWithToggleButton(boolean showToggleButton)
-