From dcc6d3d5cafe47d53d1b321476bf73bb2d65ae9b Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 8 Jun 2022 16:21:40 +0200 Subject: refactor: remove unused cursor controller dependency from scene --- src/engine/engine.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/engine/engine.hpp') diff --git a/src/engine/engine.hpp b/src/engine/engine.hpp index a274ed4..28eb8fc 100644 --- a/src/engine/engine.hpp +++ b/src/engine/engine.hpp @@ -19,26 +19,26 @@ class CLIGameEngine : public ICLIGameEngine, ICLIGameEngine, CLIGameEngine, IGameFactory, - ISceneFactory, IComponentRendererFactory, IUserInputObserver, - ICursorController> + ICursorController, + IScene> { public: CLIGameEngine( IGameFactory game_factory, - ISceneFactory scene_factory, IComponentRendererFactory component_renderer_factory, std::shared_ptr user_input_observer, - std::shared_ptr cursor_controller) noexcept; + std::shared_ptr cursor_controller, + std::shared_ptr scene) noexcept; void start() noexcept override; private: IGameFactory _game_factory; - ISceneFactory _scene_factory; IComponentRendererFactory _component_renderer_factory; std::shared_ptr _user_input_observer; std::shared_ptr _cursor_controller; + std::shared_ptr _scene; }; -- cgit v1.2.3-18-g5258