#pragma once #include "EditorAttachment.hpp" #include "EditorInspector.hpp" #include "EditorResources.hpp" #include "GameObject.hpp" #include "World.hpp" #include #include class App; class EditorInstance { private: App* mApp; GameWorld* mWorld; GameObject* mSelectedGameObject = nullptr; EditorInspector mEdInspector; EditorContentBrowser mEdContentBrowser; public: EditorInstance(App* app, GameWorld* world); ~EditorInstance(); void Show(); private: void ShowWorldProperties(); void ShowInspector(GameObject* object); void ShowGameObjecetFields(GameObject* object); void ShowGameObjectInTree(GameObject* object); };