importAll

fun importAll(vararg imports: String)
fun importAll(imports: Iterable<String>)

Imports the selected imports within the script context. Wildcard imports using * are accepted. The imports will be available in future scripts.

To assign an alias to a specific import, use Kotlin as operator after the qualified name. For example: engine.importAll("com.badlogic.gdx.utils.Array as GdxArray")