FunkinGame
| Kind | class |
| Package | backend |
| Full name | backend.FunkinGame |
| Source | source/backend/FunkinGame.hx |
| Extends | FlxGame |
Public methods
new (constructor)
function new(gameWidth:Int, gameHeight:Int, entryState:Class<FlxState>, updateFramerate:Int = 60, drawFramerate:Int = 60, skipSplash:Bool = false, startFullscreen:Bool = false)
Only compiled when #if desktop.
Keep this constructor on AIR so FlxGame still receives startFullscreen; AIR's window/input APIs differ, so only native desktops get the hotkeys.
| Parameter | Type | Default |
|---|---|---|
gameWidth | Int | — |
gameHeight | Int | — |
entryState | Class<FlxState> | — |
updateFramerate (optional) | Int | 60 |
drawFramerate (optional) | Int | 60 |
skipSplash (optional) | Bool | false |
startFullscreen (optional) | Bool | false |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
fullscreenListener | KeyboardEvent->Void | no |