PauseSubState
| Kind | class |
| Package | states.substates |
| Full name | states.substates.PauseSubState |
| Source | source/states/substates/PauseSubState.hx |
| Extends | MusicBeatSubstate |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
inPause | Bool | yes | false | — |
requireRestart | Bool | yes | false | — |
songName | String | yes | '' | — |
Public methods
onResize
override function onResize(width:Int, height:Int):Void
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
restartSong
static function restartSong(noTrans:Bool = false)
| Parameter | Type | Default |
|---|---|---|
noTrans (optional) | Bool | false |
regenMenu
function regenMenu():Void
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
menuItemGroup | FlxTypedGroup<Alphabet> | no |
menuItems | Array<String> | no |
menuItemsOG | Array<String> | no |
menuItemsExit | Array<String> | no |
difficultyChoices | — | no |
curSelected | Int | no |
pauseMusic | FlxSound | no |
practiceText | FlxText | no |
skipTimeText | FlxText | no |
skipTimeTracker | Alphabet | no |
background | FlxSprite | no |
rightLabels | Array<FlxText> | no |
layoutWidth | Int | no |
curTime | Float | no |
holdTime | Float | no |
cantUnpause | Float | no |
| Method |
|---|
override function create() |
override function update(elapsed:Float) |
function deleteSkipTimeText() |
override function destroy() |
function changeSelection(change:Int = 0):Void |
function updateSkipTextStuff() |
function updateSkipTimeText() |