// Copyright [2023] Krzysztof Rudnicki #ifndef BREAKOUT_GAME_HPP_ #define BREAKOUT_GAME_HPP_ #include #include "../dependencies/include/glad/glad.h" // Represents the current state of the game enum GameState { GAME_ACTIVE, GAME_MENU, GAME_WIN }; class Game { public: // game state GameState State; bool Keys[1024]; unsigned int Width, Height; // constructor/destructor Game(unsigned int width, unsigned int height); ~Game(); // initialize game state (load all shaders/textures/levels) void Init(); // game loop void ProcessInput(float dt); void Update(float dt); void Render(); }; #endif // BREAKOUT_GAME_HPP_