diff options
Diffstat (limited to 'src/games/minesweeper/Minesweeper.hpp')
| -rw-r--r-- | src/games/minesweeper/Minesweeper.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/games/minesweeper/Minesweeper.hpp b/src/games/minesweeper/Minesweeper.hpp index 24672f0..fbdcb30 100644 --- a/src/games/minesweeper/Minesweeper.hpp +++ b/src/games/minesweeper/Minesweeper.hpp @@ -4,8 +4,6 @@ #include <common/math.hpp> #include <common/Font.hpp> -#include <array> - class Minesweeper : public Game { public: @@ -21,11 +19,11 @@ public: bool Update(std::vector<SDL_Event>& events) override; + +private: void ProcessEventDuringPause(SDL_Event& event); void ProcessEventDuringResume(SDL_Event& event); - -private: void Reset(Difficulty Difficulty); void InitIsMineBitmap(int32_t mine_count); void InitAdjacentMineCounters(); @@ -50,7 +48,6 @@ private: private: static constexpr int32_t max_map_height = 32; static constexpr int32_t max_map_width = 32; - static constexpr const char* s_font_filepath = "./fonts/dejavu_ttf/DejaVuSans.ttf"; private: |
