From 38f14606c78c119d452f302f17329455e29a9a6f Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 10 Mar 2022 19:12:31 +0100 Subject: refactor: rename game initializer & move input config --- src/game/game.hpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/game/game.hpp') 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 - -class Game : public IGame, public AutoWirable +class Game : public IGame, public AutoWirable { public: - explicit Game(std::shared_ptr input_configurator); - - void run(IScene &scene, IInputHandler &input_handler) override; + Game() = default; -private: - std::shared_ptr _input_configurator; + void run() override; }; -- cgit v1.2.3-18-g5258