Editor: Difference between revisions
From Crumbled World Wiki
(Created page with "{{:EditorExampleCode}} ==Static functions== {| class="wikitable" !|return !|function !|description |- | |save(string fileName) |Save the current map if in EDITOR. If no file has been chosen a window will open where file can be specified. |- | |export(string fileName) |Export the current map if in EDITOR. If no file has been chosen a window will open where file can be specified. |- | |E...") |
(No difference)
|
Latest revision as of 12:58, 5 July 2025
Static functions
| return | function | description |
|---|---|---|
| save(string fileName) | Save the current map if in EDITOR.
If no file has been chosen a window will open where file can be specified. | |
| export(string fileName) | Export the current map if in EDITOR.
If no file has been chosen a window will open where file can be specified. | |
| load(string fileName) | Will open a window where a map can be selected to open. | |
| PlayerNode | createNewMap() | Create the new player node and populate the world with back end nodes. |
| setMainAreaPanel(Panel mainPanel) | Set which panel represent the main work area. | |
| File | getSaveFolder() | Return directory where map can be saved. |
| pauseEditor() | Pause the map editor. |