feat(Game): add getter and run functions

This commit is contained in:
2025-11-19 10:44:39 +01:00
parent 3892d29f4e
commit 6ccbc1c4e9
3 changed files with 53 additions and 4 deletions

View File

@@ -17,7 +17,13 @@ private:
public:
Game(int width, int height, string name);
~Game();
void run();
void run(bool (*func)(Game *g));
GLFWwindow *getWindow();
const char *getName();
int getWidth();
int getHeight();
};
#endif