aboutsummaryrefslogtreecommitdiff
path: root/source/EditorInspector.hpp
blob: d74b7a8fd8844953f93e9663d08f87a99a7f3517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

class IEditorInspectorTarget {
public:
	virtual void ShowInspector() = 0;
};

class EditorInspector {
private:
	IEditorInspectorTarget* mCurrentTarget = nullptr;

public:
	void Show();

	IEditorInspectorTarget* GetCurrentTarget() const;
	void SetCurrentTarget(IEditorInspectorTarget* target);
};