Added window

This commit is contained in:
Lauchmelder 2022-01-08 16:54:36 +01:00
commit 2a8b38ffc4
12 changed files with 187 additions and 0 deletions

24
src/Application.hpp Normal file
View file

@ -0,0 +1,24 @@
#pragma once
class Window;
class Application
{
public:
static Application& GetInstance()
{
static Application app;
return app;
}
public:
void Run();
private:
bool valid;
Window* window;
private:
Application();
~Application();
};