aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-10 19:12:31 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:55 +0200
commit38f14606c78c119d452f302f17329455e29a9a6f (patch)
tree03f6dfd9d3576e87260f7cb3bc436ad076b629c5 /src/game/game.cpp
parent09848ad31af6a1c70d64fccee711e231afb5a77f (diff)
refactor: rename game initializer & move input config
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 0773f2c..dafa847 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -1,14 +1,3 @@
#include "game.hpp"
-#include <utility>
-
-Game::Game(std::shared_ptr<IInputConfigurator> input_configurator)
- : _input_configurator(std::move(input_configurator))
-{
-}
-
-void Game::run(IScene & /*scene*/, IInputHandler &input_handler)
-{
- _input_configurator->configure(input_handler);
- input_handler.listen();
-}
+void Game::run() {}