Added window
This commit is contained in:
commit
2a8b38ffc4
12 changed files with 187 additions and 0 deletions
24
src/Application.hpp
Normal file
24
src/Application.hpp
Normal 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();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue