Files
Nuake/Editor/src/EditorLayer.h
Antoine Pilote 7b48319ff5 Added Recast&Detour implementation
- Implemented debug renderer of navigation meshes
- Can now generate navigation meshes from .map files
2024-07-11 04:54:57 -04:00

31 lines
575 B
C++

#pragma once
#include <src/Application/Layer.h>
#include "Commands/CommandBuffer.h"
#include "src/AI/NavMeshDebugDrawer.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;
Nuake::NavMeshDebugDrawer m_NavMeshDrawer;
};