BaseOptionsMenu
| Kind | class |
| Package | options |
| Full name | options.BaseOptionsMenu |
| Source | source/options/BaseOptionsMenu.hx |
| Extends | MusicBeatSubstate |
Known subclasses: MobileOptionsSubState, GameRendererSettingsSubState, GameplaySettingsSubState, GraphicsSettingsSubState, MiscSettingsSubState, OptimizationSubState, SuperSecretDebugMenu, VisualsUISubState
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
title | String | no | — | — |
rpcTitle | String | no | — | — |
Public methods
onResize
override function onResize(width:Int, height:Int):Void
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
new (constructor)
function new()
addOption
function addOption(option:Option)
| Parameter | Type | Default |
|---|---|---|
option | Option | — |
reloadBoyfriend
function reloadBoyfriend()
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
curOption | Option | no |
curSelected | Int | no |
optionsArray | Array<Option> | no |
grpOptions | FlxTypedGroup<Alphabet> | no |
checkboxGroup | FlxTypedGroup<CheckboxThingie> | no |
grpTexts | FlxTypedGroup<AttachedText> | no |
boyfriend | Character | no |
descBox | FlxSprite | no |
descText | FlxText | no |
optionSearchText | FlxUIInputText | no |
searchText | FlxText | no |
buttonTop | FlxButton | no |
background | FlxSprite | no |
titleText | Alphabet | no |
layoutWidth | Int | no |
originalOptionsArray | Array<Option> | no |
optionsFound | Array<Option> | no |
nextAccept | Int | no |
holdTime | Float | no |
holdValue | Float | no |
_textThrottle | Float | no |
| Method |
|---|
function optionsSearch(query:String = '') |
function regenerateOptions(query:String = '') |
function regenList() |
override function update(elapsed:Float) |
function updateTextFrom(option:Option) |
function refreshDescription(option:Option) |
function clearHold() |
function changeSelection(change:Int = 0) |
function reloadCheckboxes() |