From b0edb4219ea4df381d0235aa34b74799334aa0b2 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Wed, 28 Jan 2026 20:01:46 +0100 Subject: finished merging code and simplifying file structure --- src/Game/edit.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/Game/edit.cpp (limited to 'src/Game/edit.cpp') 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 -#include -#include -#include - -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 -- cgit v1.2.3