aboutsummaryrefslogtreecommitdiff
path: root/src/games/Game.hpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-09-28 11:23:04 +0200
committerfschildt <florian.schildt@protonmail.com>2025-09-28 11:23:04 +0200
commit4537e9bee3d054786857fa92824e2d9e8385bb36 (patch)
tree92ee1fea597f8164d09885286b71d812f6890259 /src/games/Game.hpp
parent3d30e1ee9d1c9fb67cca8e3f178ba5fd05a2726e (diff)
minesweeper: now playable
Diffstat (limited to 'src/games/Game.hpp')
-rw-r--r--src/games/Game.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/games/Game.hpp b/src/games/Game.hpp
index 9af98b4..b09b618 100644
--- a/src/games/Game.hpp
+++ b/src/games/Game.hpp
@@ -17,10 +17,11 @@ public:
MINESWEEPER
};
+ static std::unique_ptr<Game> Select(GameType type, RenderGroup& render_group);
+
Game() = default;
virtual ~Game();
- static std::unique_ptr<Game> Select(GameType type);
- virtual bool Update(std::vector<SDL_Event> &events, RenderGroup &render_group) = 0;
+ virtual bool Update(std::vector<SDL_Event> &events) = 0;
};