Package com.prineside.tdi2.ui.shared
Class DarkOverlay
java.lang.Object
com.prineside.tdi2.managers.UiManager.UiComponent.Adapter
com.prineside.tdi2.ui.shared.DarkOverlay
- All Implemented Interfaces:
Disposable,UiManager.UiComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.managers.UiManager.UiComponent
UiManager.UiComponent.Adapter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCaller(String callerName, UiManager.MainUiLayer category, int layerIdx, BooleanSupplier onClick) voidaddCallerOverlayLayer(String callerName, int layerIdx, BooleanSupplier onClick) voidhide()static DarkOverlayi()voidpostRender(float deltaTime) voidvoidremoveCaller(String callerName) Doesn't call onClick()Methods inherited from class com.prineside.tdi2.managers.UiManager.UiComponent.Adapter
dispose, isPersistent, preRender
-
Constructor Details
-
DarkOverlay
public DarkOverlay()
-
-
Method Details
-
i
-
hide
public void hide() -
postRender
public void postRender(float deltaTime) - Specified by:
postRenderin interfaceUiManager.UiComponent- Overrides:
postRenderin classUiManager.UiComponent.Adapter
-
removeCaller
Doesn't call onClick() -
addCallerOverlayLayer
-
addCaller
public void addCaller(String callerName, UiManager.MainUiLayer category, int layerIdx, BooleanSupplier onClick) - Parameters:
onClick- may return false to cancel overlay hiding
-
printDebug
public void printDebug()
-