The source project of this merge request has been removed.
main_editor refactor
- Refactored
main_editor.py
to be more modular.- LevelEditor and GlobalEditor are now separate editors, that are hosted in the MainEditor
- All interdependency between the three have been removed
- separated game-launch, save functionality into different classes
- moved dock, menubar to separate wrapper classes
- Added EditorState broadcast system
- This removes the requirement for each editor to have pointers to other editors in order to access information such as current level.
Why?
- In preparation for future editors (overworld), which will be hosted in MainEditor
- to reduce code complexity, making extensibility of all editors better