Skip to main content

ResetScoreSubState

Kindclass
Packagestates.substates
Full namestates.substates.ResetScoreSubState
Sourcesource/states/substates/ResetScoreSubState.hx
ExtendsMusicBeatSubstate

Public methods​

onResize​

override function onResize(width:Int, height:Int):Void
ParameterTypeDefault
widthInt—
heightInt—

View source

new (constructor)​

function new(song:String, difficulty:Int, character:String, week:Int = -1)

Week -1 = Freeplay

ParameterTypeDefault
songString—
difficultyInt—
characterString—
week (optional)Int-1

View source

Internals​

Private / internal members
FieldTypeStatic
bgFlxSpriteno
alphabetArrayArray<Alphabet>no
iconHealthIconno
onYesBoolno
yesTextAlphabetno
noTextAlphabetno
songStringno
difficultyIntno
weekIntno
Method
override function update(elapsed:Float)
function updateOptions()