text: #pragma once
  
  #include "Crystal/Core/Core.h"
  #include "Crystal/Scene/Scene.h"
  #include "Crystal/Scene/Entity.h"
  
  namespace Crystal {
  
  	class SceneHierarchyPanel
  	{
  	public:
  		SceneHierarchyPanel() = default;
  		SceneHierarchyPanel(const Ref<Scene>& context);
  
  		void SetContext(const Ref<Scene>& context);
  
  		void OnImGuiRender();
  	private:
  		void DrawEntityNode(Entity entity);
  		void DrawComponents(Entity entity);
  	private:
  		Ref<Scene> m_Context;
  		Entity m_SelectionContext;
  	};
  }
  