2024-07-30 16:57:32 +00:00
|
|
|
#ifndef EDITOR_H
|
|
|
|
#define EDITOR_H
|
|
|
|
|
|
|
|
#include "Engine.h"
|
|
|
|
#include "UI.h"
|
|
|
|
|
|
|
|
class Editor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Editor();
|
|
|
|
~Editor();
|
|
|
|
|
|
|
|
void Initialize();
|
|
|
|
void Run();
|
|
|
|
void Shutdown();
|
|
|
|
|
|
|
|
GLFWwindow* GetWindow() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
GLFWwindow* window;
|
|
|
|
Engine engine;
|
|
|
|
UI ui;
|
|
|
|
|
2024-07-31 13:40:16 +00:00
|
|
|
int screenWidth = 800;
|
|
|
|
int screenHeight = 600;
|
|
|
|
|
2024-07-30 16:57:32 +00:00
|
|
|
void InitializeWindow();
|
|
|
|
void InitializeImGui();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|