aboutsummaryrefslogtreecommitdiff
path: root/src/engine/engine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/engine.hpp')
-rw-r--r--src/engine/engine.hpp10
1 files changed, 5 insertions, 5 deletions
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<IUserInputObserver> user_input_observer,
- std::shared_ptr<ICursorController> cursor_controller) noexcept;
+ std::shared_ptr<ICursorController> cursor_controller,
+ std::shared_ptr<IScene> scene) noexcept;
void start() noexcept override;
private:
IGameFactory _game_factory;
- ISceneFactory _scene_factory;
IComponentRendererFactory _component_renderer_factory;
std::shared_ptr<IUserInputObserver> _user_input_observer;
std::shared_ptr<ICursorController> _cursor_controller;
+ std::shared_ptr<IScene> _scene;
};