work on utils
This commit is contained in:
@@ -1,13 +1,22 @@
|
||||
#include "Archimedes.h"
|
||||
#include "Renderer/Renderer.h"
|
||||
#include "GLFW/WindowGLFW.h"
|
||||
|
||||
class Window {
|
||||
namespace Archimedes {
|
||||
|
||||
public:
|
||||
|
||||
virtual ~Window() {};
|
||||
class Window {
|
||||
|
||||
virtual bool shouldClose() = 0;
|
||||
public:
|
||||
|
||||
virtual void doFrame() = 0;
|
||||
~Window() {};
|
||||
|
||||
};
|
||||
bool shouldClose();
|
||||
|
||||
void doFrame();
|
||||
|
||||
private:
|
||||
Renderer renderer;
|
||||
|
||||
WindowImpl w;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user