diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-25 17:01:43 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-25 17:01:43 +0100 |
| commit | f5d734e3420e216816a4ac5ef50d022bb4b4ab85 (patch) | |
| tree | 971a44caa54600289cd1b0713ce877041d406259 /src/game | |
| parent | 19f02b9d85c8ada9cca07a87199f68e2a31b303c (diff) | |
reverted difficulty editing feature
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/game.cpp | 6 | ||||
| -rw-r--r-- | src/game/globals.hpp | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp index 4f4d1f9..463a84e 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -4,6 +4,12 @@ #include <cstdio> #include <iostream> +using namespace std; + +void Game::editDiff(){ + cout << "Now editing custom difficulty" << endl; +} + void Game::initDiff(int diff) { switch (diff) { case 0: diff --git a/src/game/globals.hpp b/src/game/globals.hpp index 054dc6e..7518a84 100644 --- a/src/game/globals.hpp +++ b/src/game/globals.hpp @@ -15,6 +15,7 @@ private: int mines; public: + void editDiff(); void initDiff(int diff); void initBoard(); void displayBoard(); |
