Update Breakout progress code for PowerUps chapter. Also few missed items on prev. progress code.

This commit is contained in:
Joey de Vries
2020-04-27 14:26:24 +02:00
parent 596c654c2c
commit 75c6d5fa97
5 changed files with 551 additions and 1 deletions

View File

@@ -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();