BaseHudLayout
abstract class BaseHudLayout(var position: <Error class: unknown class> = Vec2.nullVector) : BaseHudElement, HudLayout
Content copied to clipboard
Base implementation of a HudLayout.
Constructors
Link copied to clipboard
fun BaseHudLayout(position: <Error class: unknown class> = Vec2.nullVector)
Content copied to clipboard
Functions
Link copied to clipboard
Adds given element to this layout.
Link copied to clipboard
open override fun addInputEventListener(listener: HudElement.InputEventListener)
Content copied to clipboard
Adds given input events listener to this 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
Arranges this layout's elements recursively.
Link copied to clipboard
Removes given element from this layout.
Link copied to clipboard
Removes an element at the given index from this layout.
Link copied to clipboard
open override fun removeInputEventListener(listener: HudElement.InputEventListener)
Content copied to clipboard
Removes given input events listener from this element.