mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
move window-related code from Engine.cpp to WindowControl
This commit is contained in:
parent
87ff77a73f
commit
4bafad708e
6 changed files with 116 additions and 60 deletions
|
|
@ -14,6 +14,7 @@
|
|||
#include <string>
|
||||
|
||||
class Window;
|
||||
class WindowControl;
|
||||
class Assets;
|
||||
class Level;
|
||||
class Screen;
|
||||
|
|
@ -75,6 +76,7 @@ class Engine : public util::ObjectsKeeper {
|
|||
std::unique_ptr<gui::GUI> gui;
|
||||
std::unique_ptr<devtools::Editor> editor;
|
||||
std::unique_ptr<devtools::DebuggingServer> debuggingServer;
|
||||
std::unique_ptr<WindowControl> windowControl;
|
||||
PostRunnables postRunnables;
|
||||
Time time;
|
||||
OnWorldOpen levelConsumer;
|
||||
|
|
@ -144,8 +146,6 @@ public:
|
|||
postRunnables.postRunnable(callback);
|
||||
}
|
||||
|
||||
void saveScreenshot();
|
||||
|
||||
EngineController* getController();
|
||||
|
||||
void setLevelConsumer(OnWorldOpen levelConsumer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue