open class UI
This is a completely optional container for user interface elements. All it does is direct calls to advance() and render() to each UIElement it contains, simplifying the code when working with multiple user interface elements.
UI()
This is a completely optional container for user interface elements. All it does is direct calls to advance() and render() to each UIElement it contains, simplifying the code when working with multiple user interface elements. |
val elements: HashSet<UIElement> |
fun addElement(element: UIElement): Unit |
|
fun advance(amount: Float): Unit |
|
fun removeElement(element: UIElement): Unit |
|
fun render(): Unit |