From 18e1db1fb8692752f64d3912c3b5ff1818be9028 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 23 May 2022 18:12:39 +0200 Subject: refactor: replace last subscriber patterned code --- src/game/game.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/game/game.hpp') diff --git a/src/game/game.hpp b/src/game/game.hpp index fb6a5ed..955269c 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -6,7 +6,6 @@ #include "interfaces/input.hpp" #include "interfaces/scene.hpp" #include "interfaces/status_manager.hpp" -#include "interfaces/statusline_subscriber_adapter.hpp" #include #include @@ -19,9 +18,7 @@ public: std::shared_ptr cursor_controller, std::shared_ptr generation_tracker, std::shared_ptr status_manager, - std::shared_ptr user_input_observer, - IStatusLineSubscriberAdapterFactory - vector2_statusline_subscriber_adapter_factory) noexcept; + std::shared_ptr user_input_observer) noexcept; void on_start() noexcept override; @@ -35,8 +32,6 @@ private: std::shared_ptr _generation_tracker; std::shared_ptr _status_manager; std::shared_ptr _user_input_observer; - IStatusLineSubscriberAdapterFactory - _vector2_statusline_subscriber_adapter_factory; std::chrono::system_clock::time_point _last_update_time; -- cgit v1.2.3-18-g5258