aboutsummaryrefslogtreecommitdiff
path: root/src/games/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/games/Game.cpp')
-rw-r--r--src/games/Game.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/games/Game.cpp b/src/games/Game.cpp
index 4f7b7a6..5619c8a 100644
--- a/src/games/Game.cpp
+++ b/src/games/Game.cpp
@@ -9,7 +9,7 @@
std::unique_ptr<Game>
-Game::Select(GameType type, RenderGroup& render_group)
+Game::Select(GameType type)
{
switch (type) {
case NO_GAME: {
@@ -17,15 +17,15 @@ Game::Select(GameType type, RenderGroup& render_group)
} break;
case TETRIS: {
- return std::make_unique<Tetris>(render_group);
+ return std::make_unique<Tetris>();
} break;
case SNAKE: {
- return std::make_unique<Snake>(render_group);
+ return std::make_unique<Snake>();
} break;
case MINESWEEPER: {
- return std::make_unique<Minesweeper>(render_group);
+ return std::make_unique<Minesweeper>();
} break;
InvalidDefaultCase;