HudElement

interface HudElement

Interface for an element of HUD.

Inheritors

Types

Link copied to clipboard
fun interface InputEventListener

Input events listener for HUD elements.

Functions

Link copied to clipboard

Adds given input events listener to this element.

Link copied to clipboard
abstract 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 this element.

Properties

Link copied to clipboard
abstract val atoms: Iterable<HudAtom>

Atoms making up this element.

Link copied to clipboard
abstract val boundingBox: BoundingBox

Bounding box of this element.

Link copied to clipboard
abstract var isVisible: Boolean

true if this element is visible.

Link copied to clipboard
abstract var position: <Error class: unknown class><Float>

Position of this element.