BaseHudElementWrapper

abstract class BaseHudElementWrapper(element: HudElement) : HudElement

Base implementation of HUD element wrappers.

Constructors

Link copied to clipboard
fun BaseHudElementWrapper(element: HudElement)

Functions

Link copied to clipboard
open override fun addInputEventListener(listener: HudElement.InputEventListener)

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

Handles given input event at given position.

Link copied to clipboard
open override fun removeInputEventListener(listener: HudElement.InputEventListener)

Removes given input events listener from the wrapped element.

Properties

Link copied to clipboard
open override val atoms: Iterable<HudAtom>

Atoms making up the wrapped element.

Link copied to clipboard
open override val boundingBox: BoundingBox

Bounding box of the wrapped element.

Link copied to clipboard
open override var isVisible: Boolean

true the wrapped element is visible.

Link copied to clipboard
open override var position: <Error class: unknown class>

Position of the wrapped element.

Inheritors

Link copied to clipboard
Link copied to clipboard