diff options
author | hnOsmium0001 <[email protected]> | 2022-04-09 13:29:41 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-04-09 13:29:41 -0700 |
commit | 906557f094e407ce21d429ef647bc75fe3179cf1 (patch) | |
tree | 5e6aaed6537a0328318b6cd6561f6a76bf8aa27d /source/App.hpp | |
parent | e47a98793e58a5dbbe76bfed27e59408e43538e4 (diff) |
More work on editor
Diffstat (limited to 'source/App.hpp')
-rw-r--r-- | source/App.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/App.hpp b/source/App.hpp index b861730..731ab06 100644 --- a/source/App.hpp +++ b/source/App.hpp @@ -1,6 +1,6 @@ #pragma once -#include "EditorCoreAPI.hpp" +#include "EditorCore.hpp" #include "Player.hpp" #include "PodVector.hpp" #include "World.hpp" @@ -19,7 +19,7 @@ class App { private: std::deque<KeyCaptureCallback> mKeyCaptureCallbacks; PodVector<Player*> mPlayers; - EditorInstance* mEditor; + std::unique_ptr<EditorInstance> mEditor; std::unique_ptr<GameWorld> mCurrentWorld; bool mEditorShown = true; bool mInitialized = false; |