30 Layer(
const std::string& name =
"Layer");
98 std::string m_DebugName;
#define KARMA_API
Defining Karma's API macro for storage class information.
Definition Core.h:41
This file contains the base class Event for Karma's events.
This file contains the class Scene.
The base class of all the events for Karma.
Definition Event.h:90
virtual void OnDetach()=0
A function called on Layer when the LayerStack is destroyed.
virtual void OnUpdate(float deltaTime)=0
Function called in each game loop.
virtual void OnAttach()=0
A function called on Layer when the Layer is pushed or OverLay is pushed.
Layer(const std::string &name="Layer")
A constructor.
Definition Layer.cpp:5
virtual void KarmaGuiRender(float deltaTime)=0
Function called in each game loop, specifically for rendering purposes.
virtual void OnEvent(Event &event)
For dispatching Events specific to the Layer.
Definition Layer.h:83
const std::string & GetName() const
Getter for the name of the Layer (debugging purposes).
Definition Layer.h:92