Changed selected type
Moving away from using the pure ENTT library types and starting to use my own
This commit is contained in:
@ -8,13 +8,15 @@ inline void ComponentView(const std::string& componentName, voidFunction func);
|
||||
|
||||
class Inspector : public EditorWindow {
|
||||
public:
|
||||
Inspector() : EditorWindow("Inspector") {}
|
||||
Inspector( YoggieEngine::Entity& selected ) : EditorWindow("Inspector"), selected(selected){}
|
||||
|
||||
void Draw()override;
|
||||
|
||||
private:
|
||||
|
||||
void AddComponentDropDown(YoggieEngine::Entity& selected);
|
||||
void AddComponentDropDown();
|
||||
void ShowComponents();
|
||||
|
||||
void ShowComponents(YoggieEngine::Entity& selected);
|
||||
|
||||
YoggieEngine::Entity& selected;
|
||||
};
|
||||
|
Reference in New Issue
Block a user