aboutsummaryrefslogtreecommitdiff
path: root/source/EditorInspector.cpp
blob: 2f1d65c7dc67592d235cb7cb0fd840ec543636f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "EditorInspector.hpp"

void EditorInspector::Show() {
	if (mCurrentTarget) {
		mCurrentTarget->ShowInspector();
	}
}

IEditorInspectorTarget* EditorInspector::GetCurrentTarget() const {
	return mCurrentTarget;
}

void EditorInspector::SetCurrentTarget(IEditorInspectorTarget* target) {
	mCurrentTarget = target;
}