diff options
Diffstat (limited to 'source/EditorInspector.cpp')
-rw-r--r-- | source/EditorInspector.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/EditorInspector.cpp b/source/EditorInspector.cpp new file mode 100644 index 0000000..2f1d65c --- /dev/null +++ b/source/EditorInspector.cpp @@ -0,0 +1,15 @@ +#include "EditorInspector.hpp" + +void EditorInspector::Show() { + if (mCurrentTarget) { + mCurrentTarget->ShowInspector(); + } +} + +IEditorInspectorTarget* EditorInspector::GetCurrentTarget() const { + return mCurrentTarget; +} + +void EditorInspector::SetCurrentTarget(IEditorInspectorTarget* target) { + mCurrentTarget = target; +} |