ResetScoreSubState
| Kind | class |
| Package | states.substates |
| Full name | states.substates.ResetScoreSubState |
| Source | source/states/substates/ResetScoreSubState.hx |
| Extends | MusicBeatSubstate |
Public methods
onResize
override function onResize(width:Int, height:Int):Void
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
new (constructor)
function new(song:String, difficulty:Int, character:String, week:Int = -1)
Week -1 = Freeplay
| Parameter | Type | Default |
|---|---|---|
song | String | — |
difficulty | Int | — |
character | String | — |
week (optional) | Int | -1 |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
bg | FlxSprite | no |
alphabetArray | Array<Alphabet> | no |
icon | HealthIcon | no |
onYes | Bool | no |
yesText | Alphabet | no |
noText | Alphabet | no |
song | String | no |
difficulty | Int | no |
week | Int | no |
| Method |
|---|
override function update(elapsed:Float) |
function updateOptions() |