VisibilityWrapper
class VisibilityWrapper(element: HudElement, visibilityProvider: () -> Boolean) : BaseHudElementWrapper
Content copied to clipboard
HUD element wrapper changing visibility of the wrapped element.
Constructors
Link copied to clipboard
fun VisibilityWrapper(element: HudElement, visibilityProvider: () -> Boolean)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun addInputEventListener(listener: HudElement.InputEventListener)
Content copied to clipboard
Adds given input events listener to the wrapped element.
Link copied to clipboard
open override fun handleInputEvent(position: <Error class: unknown class>, event: Any?): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun removeInputEventListener(listener: HudElement.InputEventListener)
Content copied to clipboard
Removes given input events listener from the wrapped element.