OptionsState
| Kind | class |
| Package | options |
| Full name | options.OptionsState |
| Source | source/options/OptionsState.hx |
| Extends | MusicBeatState |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
menuBG | FlxSprite | yes | — | — |
onPlayState | Bool | yes | false | — |
enteringDebugMenu | Bool | no | false | — |
Public methods
new (constructor)
function new(openMisc:Bool = false)
| Parameter | Type | Default |
|---|---|---|
openMisc (optional) | Bool | false |
onResize
override function onResize(width:Int, height:Int):Void
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
openMiscOnCreate | Bool | no |
kId | — | no |
keys | Array<FlxKey> | no |
konamiIndex | Int | no |
konamiCode | — | no |
isEnteringKonamiCode | Bool | no |
options | Array<String> | no |
grpOptions | FlxTypedGroup<Alphabet> | no |
curSelected | Int | yes |
optionsBackground | FlxSprite | no |
mainCamera | FlxCamera | no |
subCamera | FlxCamera | no |
otherCamera | FlxCamera | no |
selectorLeft | Alphabet | no |
selectorRight | Alphabet | no |
camFollow | FlxObject | no |
camFollowPos | FlxObject | no |
| Method |
|---|
function openSelectedSubstate(label:String) |
override function create() |
override function closeSubState() |
override function update(elapsed:Float) |
function enterSuperSecretDebugMenu():Void |
function changeSelection(change:Int = 0) |
function checkKonamiCode():Bool |