mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
settings observers lifecycle
This commit is contained in:
parent
201209887f
commit
5b82b18c6f
6 changed files with 75 additions and 43 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include "content/PacksManager.h"
|
||||
#include "files/engine_paths.h"
|
||||
#include "files/settings_io.h"
|
||||
#include "util/ObjectsKeeper.hpp"
|
||||
|
||||
#include <filesystem>
|
||||
#include <memory>
|
||||
|
|
@ -38,7 +39,7 @@ public:
|
|||
initialize_error(const std::string& message) : std::runtime_error(message) {}
|
||||
};
|
||||
|
||||
class Engine {
|
||||
class Engine : public util::ObjectsKeeper {
|
||||
EngineSettings& settings;
|
||||
SettingsHandler settingsHandler;
|
||||
EnginePaths* paths;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue