Constructor

@:value({ height : -1, width : -1, title : "Kha" })new(title:String = "Kha", width:Int = -1, height:Int = -1, ?window:WindowOptions, ?framebuffer:FramebufferOptions, ?audio:AudioOptions)

Used to provide parameters for System.start

Parameters:

title

The application title is the default window title (unless the window parameter provides a title of its own) and is used for various other purposes - for example for save data locations

width

Just a shortcut which overwrites window.width if set

height

Just a shortcut which overwrites window.height if set

window

Optionally provide window options

framebuffer

Optionally provide framebuffer options

audio

Optionally provide audio options

Variables

@:value(null)audio:AudioOptions = null

@:value(null)framebuffer:FramebufferOptions = null

@:value(-1)height:Int = -1

@:value("Kha")title:String = "Kha"

@:value(-1)width:Int = -1

@:value(null)window:WindowOptions = null