diff options
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index c52399d..ea8145a 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -3,19 +3,18 @@ #include "DI/auto_wirable.hpp" #include "interfaces/game.hpp" #include "interfaces/input.hpp" +#include "interfaces/input_configurator.hpp" #include "interfaces/scene.hpp" -#include "engine/user/cursor.hpp" - #include <memory> -class Game : public IGame, public AutoWirable<IGame, Game, CursorController> +class Game : public IGame, public AutoWirable<IGame, Game, IInputConfigurator> { public: - explicit Game(std::shared_ptr<CursorController> cursor_controller); + explicit Game(std::shared_ptr<IInputConfigurator> input_configurator); void run(IScene &scene, IInputHandler &input_handler) override; private: - std::shared_ptr<CursorController> _cursor_controller; + std::shared_ptr<IInputConfigurator> _input_configurator; }; |