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/EditorInspector.cpp | |
parent | e47a98793e58a5dbbe76bfed27e59408e43538e4 (diff) |
More work on editor
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; +} |