diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-01 21:51:16 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-01 21:51:16 +0100 |
| commit | 2b649745227a4dde5f2d3256a0b5f8fc9927e3d8 (patch) | |
| tree | 5363c06a0d152b6a4b308e78ed24e9a5047f88f2 /src/Game/edit.cpp | |
| parent | 8d5ad6ddb271bb0b6d94d3a632035f8681b7163f (diff) | |
| parent | e6a7c80d3261e8b0c3e73294c0dace4d36158c5d (diff) | |
Merging Utils removal
Diffstat (limited to 'src/Game/edit.cpp')
| -rw-r--r-- | src/Game/edit.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/Game/edit.cpp b/src/Game/edit.cpp deleted file mode 100644 index af89e65..0000000 --- a/src/Game/edit.cpp +++ /dev/null @@ -1,25 +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: "; - if(util.catchReturn(util.catchInputInt(Game::boardWidth)) != 0) return 1; - std::cout << Game::boardWidth; - - std::cout << "Board height: "; - if(util.catchReturn(util.catchInputInt(Game::boardHeight)) != 0) return 1; - - std::cout << "Mines: "; - if(util.catchReturn(util.catchInputInt(Game::mines)) != 0) return 1; - - return 0; -}
\ No newline at end of file |
