summaryrefslogtreecommitdiff
path: root/src/Game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game.hpp')
-rw-r--r--src/Game.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Game.hpp b/src/Game.hpp
index 749f75d..a723f5d 100644
--- a/src/Game.hpp
+++ b/src/Game.hpp
@@ -10,17 +10,18 @@ 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];
bool flagMap[MAX_H][MAX_W];
int mines;
-
+
public:
bool inGame;
+ bool hasWon();
+
+ std::string msg;
int editDiff();
void initDiff(int diff);