Skip to main content

OptionsState

Kindclass
Packageoptions
Full nameoptions.OptionsState
Sourcesource/options/OptionsState.hx
ExtendsMusicBeatState

Public fields​

NameTypeStaticDefaultNotes
menuBGFlxSpriteyes——
onPlayStateBoolyesfalse—
enteringDebugMenuBoolnofalse—

Public methods​

new (constructor)​

function new(openMisc:Bool = false)
ParameterTypeDefault
openMisc (optional)Boolfalse

View source

onResize​

override function onResize(width:Int, height:Int):Void
ParameterTypeDefault
widthInt—
heightInt—

View source

Internals​

Private / internal members
FieldTypeStatic
openMiscOnCreateBoolno
kId—no
keysArray<FlxKey>no
konamiIndexIntno
konamiCode—no
isEnteringKonamiCodeBoolno
optionsArray<String>no
grpOptionsFlxTypedGroup<Alphabet>no
curSelectedIntyes
optionsBackgroundFlxSpriteno
mainCameraFlxCamerano
subCameraFlxCamerano
otherCameraFlxCamerano
selectorLeftAlphabetno
selectorRightAlphabetno
camFollowFlxObjectno
camFollowPosFlxObjectno
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