StoryMenuState
| Kind | class |
| Package | states |
| Full name | states.StoryMenuState |
| Source | source/states/StoryMenuState.hx |
| Extends | MusicBeatState |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
weekCompleted | Map<String, Bool> | yes | new Map<String, Bool>() | — |
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 |
|---|---|---|
scoreText | FlxText | no |
lastDifficultyName | String | yes |
curDifficulty | Int | no |
txtWeekTitle | FlxText | no |
bgSprite | FlxSprite | no |
bgYellow | FlxSprite | no |
blackBarThingie | FlxSprite | no |
tracksSprite | FlxSprite | no |
layoutWidth | Int | no |
curWeek | Int | yes |
txtTracklist | FlxText | no |
grpWeekText | FlxTypedGroup<MenuItem> | no |
grpWeekCharacters | FlxTypedGroup<MenuCharacter> | no |
grpLocks | FlxTypedGroup<FlxSprite> | no |
difficultySelectors | FlxGroup | no |
sprDifficulty | FlxSprite | no |
leftArrow | FlxSprite | no |
rightArrow | FlxSprite | no |
loadedWeeks | Array<WeekData> | no |
movedBack | Bool | no |
selectedWeek | Bool | no |
stopspamming | Bool | no |
tweenDifficulty | FlxTween | no |
lerpScore | Int | no |
intendedScore | Int | no |
| Method |
|---|
override function create() |
override function closeSubState() |
override function update(elapsed:Float) |
function selectWeek() |
function changeDifficulty(change:Int = 0):Void |
function changeWeek(change:Int = 0):Void |
function weekIsLocked(name:String):Bool |
function updateText() |