ResetAchievementSubstate
| Kind | class |
| Package | states |
| Full name | states.ResetAchievementSubstate |
| Source | source/states/AchievementsMenuState.hx |
| Extends | MusicBeatSubstate |
| Compiled when | #if ACHIEVEMENTS_ALLOWED + #if MODS_ALLOWED Mods.currentModDirectory = option.mod; #end + #if MODS_ALLOWED Mods.loadTopMod(); #end |
Public methods
onResize
override function onResize(width:Int, height:Int):Void
Only compiled when #if ACHIEVEMENTS_ALLOWED + #if MODS_ALLOWED Mods.currentModDirectory = option.mod; #end + #if MODS_ALLOWED Mods.loadTopMod(); #end.
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
new (constructor)
function new()
Only compiled when #if ACHIEVEMENTS_ALLOWED + #if MODS_ALLOWED Mods.currentModDirectory = option.mod; #end + #if MODS_ALLOWED Mods.loadTopMod(); #end.
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
onYes | Bool | no |
yesText | Alphabet | no |
noText | Alphabet | no |
background | FlxSprite | no |
heading | Alphabet | no |
achievementText | FlxText | no |
| Method |
|---|
override function update(elapsed:Float) |
function updateOptions() |