From fb080f6fb911b1831c176a06259e384772541dd5 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 2 May 2022 22:36:21 +0200 Subject: refactor: seperate statusline related concerns --- src/game/status_updater.hpp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/game/status_updater.hpp (limited to 'src/game/status_updater.hpp') diff --git a/src/game/status_updater.hpp b/src/game/status_updater.hpp deleted file mode 100644 index 0fd38a7..0000000 --- a/src/game/status_updater.hpp +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -#include "interfaces/generation_tracker.hpp" -#include "interfaces/status_updater.hpp" -#include "interfaces/statusline.hpp" -#include "interfaces/subscriber.hpp" - -#include "engine/data/vector2.hpp" - -#include - -class StatusUpdater : public IStatusUpdater -{ -public: - explicit StatusUpdater( - std::shared_ptr statusline, - std::shared_ptr generation_tracker - ) noexcept; - - void update(const Vector2 &context) noexcept override; - -private: - std::shared_ptr _statusline; - std::shared_ptr _generation_tracker; -}; -- cgit v1.2.3-18-g5258