createWindow

fun createWindow(window: Window)

Constructs & registers the window. If the game hasn't yet loaded, delays the creation


inline fun createWindow(name: String, crossinline constructor: Table.() -> Unit)

Creates an anonymous window. Such a window won't be able to receive any events other than onCreate.

Parameters

name

the name of the window, displayed on the top bar.

constructor

constructs the inner layout of the window.