aboutsummaryrefslogtreecommitdiff
path: root/src/games/Game.hpp
diff options
context:
space:
mode:
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;
};