Files
Nuake-custom/Editor/src/EditorLayer.h
2024-04-27 19:13:11 -04:00

28 lines
491 B
C++

#pragma once
#include <src/Application/Layer.h>
#include "Commands/CommandBuffer.h"
namespace Nuake {
class EditorInterface;
}
class GizmoDrawer;
using namespace NuakeEditor;
class EditorLayer : public Nuake::Layer
{
public:
EditorLayer() : mCommandBuffer() {}
virtual void OnAttach() override;
virtual void OnUpdate() override;
virtual void OnDetach() override;
private:
CommandBuffer mCommandBuffer;
Nuake::EditorInterface* m_EditorInterface;
GizmoDrawer* m_GizmoDrawer;
};