ferx/engine/core/Engine.h

25 lines
382 B
C
Raw Normal View History

#pragma once
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
#include "Renderer.h"
#include "Window.h"
class Engine
{
public:
Engine();
~Engine();
2024-11-22 00:37:06 +00:00
Window* GetWindow() const { return m_Window; }
2024-07-31 13:40:16 +00:00
2024-11-22 00:37:06 +00:00
static Engine* Get() { return s_Instance; }
void Run();
void Render();
void Shutdown();
private:
Window* m_Window;
static Engine* s_Instance;
};