still deciding on structure

This commit is contained in:
2025-03-10 01:10:21 -05:00
parent 270c93490f
commit 6f706e7b69
7 changed files with 102 additions and 47 deletions

28
src/App.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef APP_H
#define APP_H
#include "pch.hpp"
#include "Module.h"
#include "GuiModule.h"
class App {
private:
static App* instance;
bool done;
std::vector<Module*> modules;
public:
App();
~App();
static App& Get() { return *instance; }
void run();
void end() { done = true; };
};
#endif