diff options
Diffstat (limited to 'src/Game.hpp')
| -rw-r--r-- | src/Game.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Game.hpp b/src/Game.hpp index 599259f..15eadd3 100644 --- a/src/Game.hpp +++ b/src/Game.hpp @@ -1,3 +1,5 @@ +#include <string> + #pragma once class Game { @@ -8,6 +10,8 @@ private: int boardWidth; int boardHeight; + std::string msg; + bool bombMap[MAX_H][MAX_W]; int tileMap[MAX_H][MAX_W]; bool revealedMap[MAX_H][MAX_W]; @@ -23,7 +27,10 @@ public: void initBoard(); void updateBoard(); void displayBoard(); + int bombCheck(int x, int y); + + void revealTile(int x, int y); void input(); }; |
