mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-11 02:53:23 +08:00
Update Breakout progress code for PowerUps chapter. Also few missed items on prev. progress code.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include <glad/glad.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#include "game_level.h"
|
||||
|
||||
// Represents the current state of the game
|
||||
enum GameState {
|
||||
GAME_ACTIVE,
|
||||
@@ -49,6 +51,8 @@ public:
|
||||
bool Keys[1024];
|
||||
bool KeysProcessed[1024];
|
||||
unsigned int Width, Height;
|
||||
std::vector<GameLevel> Levels;
|
||||
unsigned int Level;
|
||||
// constructor/destructor
|
||||
Game(unsigned int width, unsigned int height);
|
||||
~Game();
|
||||
|
||||
Reference in New Issue
Block a user