BaseHudElement

abstract class BaseHudElement(var position: <Error class: unknown class>) : HudElement

Base implementation of HudElement.

Constructors

Link copied to clipboard
fun BaseHudElement(position: <Error class: unknown class>)

Functions

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

Adds given input events listener to this 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 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
open override var isVisible: Boolean = true

true if this element is visible.

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

Position of this element.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard