text: #pragma once
  
  #include "Royal/Core.h"
  #include "Royal/Events/Event.h"
  
  namespace Royal {
  
  	class ROYAL_API Layer
  	{
  	public:
  		Layer(const std::string& name = "Layer");
  		virtual ~Layer();
  
  		virtual void OnAttach() {}
  		virtual void OnDetach() {}
  		virtual void OnUpdate() {}
  		virtual void OnEvent(Event& event) {}
  
  		inline const std::string& GetName() const { return m_DebugName; }
  	protected:
  		std::string m_DebugName;
  	};
  }