Bootstrapper

This class provides some methods to bootstrap the game engine.

Author

KKoishi_

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun icon(iconPath: String): Bootstrapper
Link copied to clipboard
fun initMethod(mth: () -> Unit): Bootstrapper
Link copied to clipboard
fun scale(targetSize: Pair<Int, Int>?): Bootstrapper

Scale the window to the target size, and if targetSize is null, this will be skipped.

Link copied to clipboard
fun size(width: Int, height: Int): Bootstrapper
Link copied to clipboard
fun start()
Link copied to clipboard
fun uiInsets(top: Int, left: Int, bottom: Int, right: Int): Bootstrapper
Link copied to clipboard
Link copied to clipboard