WeekEditorState
| Kind | class |
| Package | editors |
| Full name | editors.WeekEditorState |
| Source | source/editors/WeekEditorState.hx |
| Extends | MusicBeatState |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
weekFileName | String | yes | 'week1' | — |
loadedWeek | WeekFile | yes | null | — |
loadError | Bool | yes | false | — |
Public methods
new (constructor)
function new(weekFile:WeekFile = null)
| Parameter | Type | Default |
|---|---|---|
weekFile (optional) | WeekFile | null |
loadWeek
static function loadWeek()
saveWeek
static function saveWeek(weekFile:WeekFile)
| Parameter | Type | Default |
|---|---|---|
weekFile | WeekFile | — |
onFocusLost
override function onFocusLost():Void
onFocus
override function onFocus():Void
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
txtWeekTitle | FlxText | no |
bgSprite | FlxSprite | no |
lock | FlxSprite | no |
txtTracklist | FlxText | no |
grpWeekCharacters | FlxTypedGroup<MenuCharacter> | no |
weekThing | MenuItem | no |
missingFileText | FlxText | no |
music | EditingMusic | no |
weekFile | WeekFile | no |
UI_box | FlxUITabMenu | no |
blockPressWhileTypingOn | Array<FlxUIInputText> | no |
songsInputText | FlxUIInputText | no |
backgroundInputText | FlxUIInputText | no |
displayNameInputText | FlxUIInputText | no |
weekNameInputText | FlxUIInputText | no |
weekFileInputText | FlxUIInputText | no |
opponentInputText | FlxUIInputText | no |
boyfriendInputText | FlxUIInputText | no |
girlfriendInputText | FlxUIInputText | no |
hideCheckbox | FlxUICheckBox | no |
weekBeforeInputText | FlxUIInputText | no |
difficultiesInputText | FlxUIInputText | no |
lockedCheckbox | FlxUICheckBox | no |
hiddenUntilUnlockCheckbox | FlxUICheckBox | no |
_file | FileReference | yes |
| Method |
|---|
override function create() |
function addEditorBox() |
function addWeekUI() |
function addOtherUI() |
function reloadAll() |
function updateText() |
function reloadBG() |
function reloadWeekThing() |
override function getEvent(id:String, sender:Dynamic, data:Dynamic, ?params:Array<Dynamic>) |
override function update(elapsed:Float) |
function recalculateStuffPosition() |
static function onLoadComplete(_):Void |
static function onLoadCancel(_):Void |
static function onLoadError(_):Void |
static function onSaveComplete(_):Void |
static function onSaveCancel(_):Void |
static function onSaveError(_):Void |