BaseHudElementWrapper

abstract class BaseHudElementWrapper(element: HudElement) : HudElement

Base implementation of HUD element wrappers.

Inheritors

Constructors

Link copied to clipboard
constructor(element: HudElement)

Functions

Link 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><Float>, event: Any?): Boolean

Handles given input event at given position.

Link copied to clipboard

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><Float>

Position of the wrapped element.