Korge
data class Korge(val args: Array<String> = arrayOf(), val imageFormats: ImageFormat = RegisteredImageFormats, val gameWindow: GameWindow? = null, val mainSceneClass: KClass<out Scene>? = null, val timeProvider: TimeProvider = TimeProvider, val injector: Injector = Injector(), val configInjector: Injector.() -> Unit = {}, val debug: Boolean = false, val trace: Boolean = false, val context: Any? = null, val fullscreen: Boolean? = null, val blocking: Boolean = true, val gameId: String = DEFAULT_GAME_ID, val settingsFolder: String? = null, val batchMaxQuads: Int = BatchBuilder2D.DEFAULT_BATCH_QUADS, val windowSize: Size = DefaultViewport.SIZE, val virtualSize: Size = windowSize, val displayMode: KorgeDisplayMode = KorgeDisplayMode.DEFAULT, val title: String = "Game", val backgroundColor: RGBA? = Colors.BLACK, val quality: GameWindow.Quality = GameWindow.Quality.PERFORMANCE, val icon: String? = null, val multithreaded: Boolean? = null, val forceRenderEveryFrame: Boolean = true, val windowCreationConfig: GameWindowCreationConfig = GameWindowCreationConfig(fullscreen = fullscreen, multithreaded = multithreaded), val main: suspend Stage.() -> Unit = {}, val debugAg: Boolean = false, val debugFontExtraScale: Double = 1.0, val debugFontColor: RGBA = Colors.WHITE, val stageBuilder: (Views) -> Stage = { Stage(it) }, val targetFps: Double = 0.0, val preferSyncIo: Boolean? = null, val unit: Unit = Unit)
Constructors
Link copied to clipboard
                  constructor(args: Array<String> = arrayOf(), imageFormats: ImageFormat = RegisteredImageFormats, gameWindow: GameWindow? = null, mainSceneClass: KClass<out Scene>? = null, timeProvider: TimeProvider = TimeProvider, injector: Injector = Injector(), configInjector: Injector.() -> Unit = {}, debug: Boolean = false, trace: Boolean = false, context: Any? = null, fullscreen: Boolean? = null, blocking: Boolean = true, gameId: String = DEFAULT_GAME_ID, settingsFolder: String? = null, batchMaxQuads: Int = BatchBuilder2D.DEFAULT_BATCH_QUADS, windowSize: Size = DefaultViewport.SIZE, virtualSize: Size = windowSize, displayMode: KorgeDisplayMode = KorgeDisplayMode.DEFAULT, title: String = "Game", backgroundColor: RGBA? = Colors.BLACK, quality: GameWindow.Quality = GameWindow.Quality.PERFORMANCE, icon: String? = null, multithreaded: Boolean? = null, forceRenderEveryFrame: Boolean = true, windowCreationConfig: GameWindowCreationConfig = GameWindowCreationConfig(fullscreen = fullscreen, multithreaded = multithreaded), main: suspend Stage.() -> Unit = {}, debugAg: Boolean = false, debugFontExtraScale: Double = 1.0, debugFontColor: RGBA = Colors.WHITE, stageBuilder: (Views) -> Stage = { Stage(it) }, targetFps: Double = 0.0, preferSyncIo: Boolean? = null, unit: Unit = Unit)
Properties
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Functions
Link copied to clipboard
                  suspend fun KorgeConfig.headless(ag: AG = AGDummy(this.windowSize), devicePixelRatio: Double = 1.0, draw: Boolean = false, entry: suspend Stage.() -> Unit): KorgeHeadless.HeadlessGameWindow