class openfl.display.Application extends Application

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from Application

var config:Config
var frameRate:Float
var modules:Array<IModule>
var onUpdate:Event_Int_Void<Int ->Void>
var preloader:Preloader
var renderer:Renderer
var renderers:Array<Renderer>
var window:Window
var windows:Array<Window>
function addModule(module:IModule):Void
function addRenderer(renderer:Renderer):Void
function create(config:Config):Void
function createWindow(window:Window):Void
function exec():Int
function onGamepadAxisMove(gamepad:Gamepad, axis:GamepadAxis, value:Float):Void
function onGamepadButtonDown(gamepad:Gamepad, button:GamepadButton):Void
function onGamepadButtonUp(gamepad:Gamepad, button:GamepadButton):Void
function onGamepadConnect(gamepad:Gamepad):Void
function onGamepadDisconnect(gamepad:Gamepad):Void
function onJoystickAxisMove(joystick:Joystick, axis:Int, value:Float):Void
function onJoystickButtonDown(joystick:Joystick, button:Int):Void
function onJoystickButtonUp(joystick:Joystick, button:Int):Void
function onJoystickConnect(joystick:Joystick):Void
function onJoystickDisconnect(joystick:Joystick):Void
function onJoystickHatMove(joystick:Joystick, hat:Int, position:JoystickHatPosition):Void
function onJoystickTrackballMove(joystick:Joystick, trackball:Int, value:Float):Void
function onKeyDown(window:Window, keyCode:KeyCode, modifier:KeyModifier):Void
function onKeyUp(window:Window, keyCode:KeyCode, modifier:KeyModifier):Void
function onModuleExit(code:Int):Void
function onMouseDown(window:Window, x:Float, y:Float, button:Int):Void
function onMouseMove(window:Window, x:Float, y:Float):Void
function onMouseMoveRelative(window:Window, x:Float, y:Float):Void
function onMouseUp(window:Window, x:Float, y:Float, button:Int):Void
function onMouseWheel(window:Window, deltaX:Float, deltaY:Float):Void
function onPreloadComplete():Void
function onPreloadProgress(loaded:Int, total:Int):Void
function onRenderContextLost(renderer:Renderer):Void
function onRenderContextRestored(renderer:Renderer, context:RenderContext):Void
function onTextEdit(window:Window, text:String, start:Int, length:Int):Void
function onTextInput(window:Window, text:String):Void
function onTouchEnd(touch:Touch):Void
function onTouchMove(touch:Touch):Void
function onTouchStart(touch:Touch):Void
function onWindowActivate(window:Window):Void
function onWindowClose(window:Window):Void
function onWindowCreate(window:Window):Void
function onWindowDeactivate(window:Window):Void
function onWindowDropFile(window:Window, file:String):Void
function onWindowEnter(window:Window):Void
function onWindowFocusIn(window:Window):Void
function onWindowFocusOut(window:Window):Void
function onWindowFullscreen(window:Window):Void
function onWindowLeave(window:Window):Void
function onWindowMinimize(window:Window):Void
function onWindowMove(window:Window, x:Float, y:Float):Void
function onWindowResize(window:Window, width:Int, height:Int):Void
function onWindowRestore(window:Window):Void
function removeModule(module:IModule):Void
function removeRenderer(renderer:Renderer):Void
function render(renderer:Renderer):Void
function update(deltaTime:Int):Void

Inherited from Module

var onExit:Event_Int_Void<Int ->Void>
function onGamepadAxisMove(gamepad:Gamepad, axis:GamepadAxis, value:Float):Void
function onGamepadButtonDown(gamepad:Gamepad, button:GamepadButton):Void
function onGamepadButtonUp(gamepad:Gamepad, button:GamepadButton):Void
function onGamepadConnect(gamepad:Gamepad):Void
function onGamepadDisconnect(gamepad:Gamepad):Void
function onJoystickAxisMove(joystick:Joystick, axis:Int, value:Float):Void
function onJoystickButtonDown(joystick:Joystick, button:Int):Void
function onJoystickButtonUp(joystick:Joystick, button:Int):Void
function onJoystickConnect(joystick:Joystick):Void
function onJoystickDisconnect(joystick:Joystick):Void
function onJoystickHatMove(joystick:Joystick, hat:Int, position:JoystickHatPosition):Void
function onJoystickTrackballMove(joystick:Joystick, trackball:Int, value:Float):Void
function onKeyDown(window:Window, keyCode:KeyCode, modifier:KeyModifier):Void
function onKeyUp(window:Window, keyCode:KeyCode, modifier:KeyModifier):Void
function onModuleExit(code:Int):Void
function onMouseDown(window:Window, x:Float, y:Float, button:Int):Void
function onMouseMove(window:Window, x:Float, y:Float):Void
function onMouseMoveRelative(window:Window, x:Float, y:Float):Void
function onMouseUp(window:Window, x:Float, y:Float, button:Int):Void
function onMouseWheel(window:Window, deltaX:Float, deltaY:Float):Void
function onPreloadComplete():Void
function onPreloadProgress(loaded:Int, total:Int):Void
function onRenderContextLost(renderer:Renderer):Void
function onRenderContextRestored(renderer:Renderer, context:RenderContext):Void
function onTextEdit(window:Window, text:String, start:Int, length:Int):Void
function onTextInput(window:Window, text:String):Void
function onTouchEnd(touch:Touch):Void
function onTouchMove(touch:Touch):Void
function onTouchStart(touch:Touch):Void
function onWindowActivate(window:Window):Void
function onWindowClose(window:Window):Void
function onWindowCreate(window:Window):Void
function onWindowDeactivate(window:Window):Void
function onWindowDropFile(window:Window, file:String):Void
function onWindowEnter(window:Window):Void
function onWindowFocusIn(window:Window):Void
function onWindowFocusOut(window:Window):Void
function onWindowFullscreen(window:Window):Void
function onWindowLeave(window:Window):Void
function onWindowMinimize(window:Window):Void
function onWindowMove(window:Window, x:Float, y:Float):Void
function onWindowResize(window:Window, width:Int, height:Int):Void
function onWindowRestore(window:Window):Void
function render(renderer:Renderer):Void
function update(deltaTime:Int):Void

function new(): Void

function create(config:Config): Void