feat(game): move main default config to game class

This commit is contained in:
2025-11-14 22:17:56 +01:00
parent 652bd75cf1
commit 2bf123323d
4 changed files with 103 additions and 110 deletions

21
src/game.hpp Normal file
View File

@@ -0,0 +1,21 @@
#ifndef GAME_HPP
#define GAME_HPP
#include "GL/glew.h"
#include "GLFW/glfw3.h"
class Game
{
private:
// window size
int width, height;
// window conf
GLFWwindow *window = nullptr;
public:
Game(const char *name, int width, int height);
~Game();
void run();
};
#endif