31 lines
409 B
C++
31 lines
409 B
C++
#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;
|
|
|
|
int screenWidth = 800;
|
|
int screenHeight = 600;
|
|
|
|
void InitializeWindow();
|
|
void InitializeImGui();
|
|
};
|
|
|
|
#endif |