diff options
Diffstat (limited to 'src/engine/game_initializer.hpp')
-rw-r--r-- | src/engine/game_initializer.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/game_initializer.hpp b/src/engine/game_initializer.hpp index 12b42de..2f63e0f 100644 --- a/src/engine/game_initializer.hpp +++ b/src/engine/game_initializer.hpp @@ -8,19 +8,19 @@ #include <memory> -class GameInitializer - : public IGameInitializer, - public AutoWirable<IGameInitializer, GameInitializer, IScene, IInputHandler, IGame> +class GameInitializer : public IGameInitializer, + public AutoWirable<IGameInitializer, GameInitializer, IScene, + IInputHandler, IGameFactory> { public: GameInitializer(std::shared_ptr<IScene> scene, std::shared_ptr<IInputHandler> input_handler, - std::shared_ptr<IGame> game); + IGameFactory game_factory); void initialize() override; private: std::shared_ptr<IScene> _scene; std::shared_ptr<IInputHandler> _input_handler; - std::shared_ptr<IGame> _game; + IGameFactory _game_factory; }; |