From 7de921836587cdc359c2c4b84ed6446ada16c008 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 22 May 2022 17:05:00 +0200 Subject: refactor: remove window class --- src/engine/engine.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/engine/engine.hpp') 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 @@ -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 input_handler, - std::shared_ptr cursor_controller, - std::shared_ptr window) noexcept; + std::shared_ptr cursor_controller) noexcept; void start() noexcept override; @@ -39,7 +36,6 @@ private: std::shared_ptr _input_handler; std::shared_ptr _cursor_controller; - std::shared_ptr _window; void _configure_input( const std::unordered_map> &input_config) noexcept; -- cgit v1.2.3-18-g5258