summaryrefslogtreecommitdiff
path: root/src/Game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game.hpp')
-rw-r--r--src/Game.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Game.hpp b/src/Game.hpp
index 61a788e..599259f 100644
--- a/src/Game.hpp
+++ b/src/Game.hpp
@@ -10,6 +10,8 @@ private:
bool bombMap[MAX_H][MAX_W];
int tileMap[MAX_H][MAX_W];
+ bool revealedMap[MAX_H][MAX_W];
+ bool flagMap[MAX_H][MAX_W];
int mines;
@@ -19,7 +21,9 @@ public:
int editDiff();
void initDiff(int diff);
void initBoard();
+ void updateBoard();
void displayBoard();
+ int bombCheck(int x, int y);
void input();
};