diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-26 17:24:50 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-26 17:24:50 +0100 |
| commit | 3806bb74674f305679efdaa2889d155531bc3643 (patch) | |
| tree | dcced6c118fb6ed61824bb0bcd24d1ae6aed258c /src/game/edit.cpp | |
| parent | b492bfb0d4cafe69edf69f196911f1b0e64c43df (diff) | |
dir rename
Diffstat (limited to 'src/game/edit.cpp')
| -rw-r--r-- | src/game/edit.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/game/edit.cpp b/src/game/edit.cpp deleted file mode 100644 index b2d2542..0000000 --- a/src/game/edit.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "Game.hpp" -#include "../utils/Utils.hpp" - -#include <cstdlib> -#include <cstdio> -#include <iostream> -#include <string> - -int Game::editDiff(){ - Utils util; - - std::cout << "Now editing custom difficulty" << std::endl; - - std::cout << "Board width: "; - util.catchInputInt(Game::boardWidth); - if(util.catchReturn(util.catchInputInt(Game::boardWidth)) != 0) return 1; - - std::cout << "Board height: "; - util.catchInputInt(Game::boardHeight); - if(util.catchReturn(util.catchInputInt(Game::boardHeight)) != 0) return 1; - - std::cout << "Mines: "; - util.catchInputInt(Game::mines); - if(util.catchReturn(util.catchInputInt(Game::mines)) != 0) return 1; - - return 0; -}
\ No newline at end of file |
