MobileControlsSelectSubState
| Kind | class |
| Package | mobile |
| Full name | mobile.MobileControlsSelectSubState |
| Source | source/mobile/MobileControlsSelectSubState.hx |
| Extends | FlxSubState |
Public methods
onResize
override function onResize(width:Int, height:Int):Void
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
controlsItems | Array<String> | no |
virtualPad | FlxVirtualPad | no |
hitbox | FlxHitbox | no |
background | FlxSprite | no |
exitButton | FlxButton | no |
upPosition | FlxText | no |
downPosition | FlxText | no |
leftPosition | FlxText | no |
rightPosition | FlxText | no |
exPosition | FlxText | no |
grpControls | FlxText | no |
leftArrow | FlxSprite | no |
rightArrow | FlxSprite | no |
curSelected | Int | no |
buttonBinded | Bool | no |
bindButton | FlxButton | no |
resetButton | FlxButton | no |
| Method |
|---|
override function create() |
override function update(elapsed:Float) |
function changeSelection(change:Int = 0):Void |
function moveButton(touch:FlxTouch, button:FlxButton):Void |
function reloadMobileControls(daChoice:String):Void |
function removeControls():Void |