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.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/engine/engine.hpp b/src/engine/engine.hpp
index 5073553..7b322b5 100644
--- a/src/engine/engine.hpp
+++ b/src/engine/engine.hpp
@@ -6,7 +6,6 @@
#include "interfaces/game.hpp"
#include "interfaces/input.hpp"
#include "interfaces/scene.hpp"
-#include "interfaces/window.hpp"
#include <yacppdic/auto_wirable.hpp>
@@ -20,16 +19,14 @@ class CLIGameEngine : public ICLIGameEngine,
IGameFactory,
ISceneFactory,
IInputHandler,
- ICursorController,
- IWindow>
+ ICursorController>
{
public:
CLIGameEngine(
IGameFactory game_factory,
ISceneFactory scene_factory,
std::shared_ptr<IInputHandler> input_handler,
- std::shared_ptr<ICursorController> cursor_controller,
- std::shared_ptr<IWindow> window) noexcept;
+ std::shared_ptr<ICursorController> cursor_controller) noexcept;
void start() noexcept override;
@@ -39,7 +36,6 @@ private:
std::shared_ptr<IInputHandler> _input_handler;
std::shared_ptr<ICursorController> _cursor_controller;
- std::shared_ptr<IWindow> _window;
void _configure_input(
const std::unordered_map<char, std::shared_ptr<ICommand>> &input_config) noexcept;