libEmi / me.emig.libEmi / EngineConfig

EngineConfig

data class EngineConfig

Constructors

<init>

EngineConfig(title: String = "EngineEmi", width: Number = 512, height: Number = 512, bgcolor: RGBA = Colors.WHITE, quality: Quality = GameWindow.Quality.PERFORMANCE, icon: Bitmap? = null, iconPath: String? = null, iconDrawable: SizedDrawable? = null, imageFormats: ImageFormat = ImageFormats(PNG), clearEachFrame: Boolean = true, targetFps: Double = 0.0, scaleAnchor: Anchor = Anchor.MIDDLE_CENTER, scaleMode: ScaleMode = ScaleMode.SHOW_ALL, clipBorders: Boolean = true, fullscreen: Boolean = false, debug: Boolean = false, args: Array<String> = arrayOf(), gameWindow: GameWindow? = null, timeProvider: TimeProvider = TimeProvider, injector: AsyncInjector = AsyncInjector())

Properties

args

val args: Array<String>

bgcolor

val bgcolor: RGBA

clearEachFrame

val clearEachFrame: Boolean

clipBorders

val clipBorders: Boolean

debug

val debug: Boolean

fullscreen

val fullscreen: Boolean

gameWindow

val gameWindow: GameWindow?

height

val height: Number

icon

val icon: Bitmap?

iconDrawable

val iconDrawable: SizedDrawable?

iconPath

val iconPath: String?

imageFormats

val imageFormats: ImageFormat

injector

val injector: AsyncInjector

quality

val quality: Quality

scaleAnchor

val scaleAnchor: Anchor

scaleMode

val scaleMode: ScaleMode

targetFps

val targetFps: Double

timeProvider

val timeProvider: TimeProvider

title

val title: String

width

val width: Number