mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 07:34:16 +00:00
feat(Game): add getter and run functions
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user