WeekEditorHelpers
| Kind | class |
| Package | editors.helpers |
| Full name | editors.helpers.WeekEditorHelpers |
| Source | source/editors/helpers/WeekEditorHelpers.hx |
| Metadata | @:access(editors.WeekEditorState) |
Public methods
addWeekUI
static function addWeekUI(state:WeekEditorState):Void
| Parameter | Type | Default |
|---|---|---|
state | WeekEditorState | — |
addOtherUI
static function addOtherUI(state:WeekEditorState):Void
| Parameter | Type | Default |
|---|---|---|
state | WeekEditorState | — |
reloadAll
static function reloadAll(state:WeekEditorState):Void
Used on onCreate and when you load a week
| Parameter | Type | Default |
|---|---|---|
state | WeekEditorState | — |
updateText
static function updateText(state:WeekEditorState):Void
| Parameter | Type | Default |
|---|---|---|
state | WeekEditorState | — |
reloadBG
static function reloadBG(state:WeekEditorState):Void
| Parameter | Type | Default |
|---|---|---|
state | WeekEditorState | — |
reloadWeekThing
static function reloadWeekThing(state:WeekEditorState):Void
| Parameter | Type | Default |
|---|---|---|
state | WeekEditorState | — |
recalculateStuffPosition
static function recalculateStuffPosition(state:WeekEditorState):Void
| Parameter | Type | Default |
|---|---|---|
state | WeekEditorState | — |
loadWeek
static function loadWeek():Void
onLoadComplete
static function onLoadComplete(_):Void
| Parameter | Type | Default |
|---|---|---|
_ | Dynamic | — |
onLoadCancel
static function onLoadCancel(_):Void
Called when the save file dialog is cancelled.
| Parameter | Type | Default |
|---|---|---|
_ | Dynamic | — |
onLoadError
static function onLoadError(_):Void
Called if there is an error while saving the gameplay recording.
| Parameter | Type | Default |
|---|---|---|
_ | Dynamic | — |
saveWeek
static function saveWeek(weekFile:WeekFile):Void
| Parameter | Type | Default |
|---|---|---|
weekFile | WeekFile | — |
onSaveComplete
static function onSaveComplete(_):Void
| Parameter | Type | Default |
|---|---|---|
_ | Dynamic | — |
onSaveCancel
static function onSaveCancel(_):Void
Called when the save file dialog is cancelled.
| Parameter | Type | Default |
|---|---|---|
_ | Dynamic | — |
onSaveError
static function onSaveError(_):Void
Called if there is an error while saving the gameplay recording.
| Parameter | Type | Default |
|---|---|---|
_ | Dynamic | — |