diff options
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index ea8145a..2111026 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -2,19 +2,11 @@ #include "DI/auto_wirable.hpp" #include "interfaces/game.hpp" -#include "interfaces/input.hpp" -#include "interfaces/input_configurator.hpp" -#include "interfaces/scene.hpp" -#include <memory> - -class Game : public IGame, public AutoWirable<IGame, Game, IInputConfigurator> +class Game : public IGame, public AutoWirable<IGame, Game> { public: - explicit Game(std::shared_ptr<IInputConfigurator> input_configurator); - - void run(IScene &scene, IInputHandler &input_handler) override; + Game() = default; -private: - std::shared_ptr<IInputConfigurator> _input_configurator; + void run() override; }; |