aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-22 17:13:24 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:59 +0200
commit7041e81abbdae6b895bda149e5369e0d52dce6ee (patch)
tree1d87cd494a7677d31db4f7e01a5c8b4a0cd525d3 /src/game/game.hpp
parent7de921836587cdc359c2c4b84ed6446ada16c008 (diff)
refactor: remove statusline as game dependency
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index c765312..1546a9c 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -5,7 +5,6 @@
#include "interfaces/generation_tracker.hpp"
#include "interfaces/scene.hpp"
#include "interfaces/status_manager.hpp"
-#include "interfaces/statusline.hpp"
#include "interfaces/statusline_subscriber_adapter.hpp"
#include <memory>
@@ -16,7 +15,6 @@ public:
Game(
std::shared_ptr<IScene> scene,
std::shared_ptr<ICursorController> cursor_controller,
- std::shared_ptr<IStatusLine> statusline,
std::shared_ptr<IGenerationTracker> generation_tracker,
std::shared_ptr<IStatusManager> status_manager,
IStatusLineSubscriberAdapterFactory<Vector2>
@@ -34,7 +32,6 @@ public:
private:
std::shared_ptr<IScene> _scene;
std::shared_ptr<ICursorController> _cursor_controller;
- std::shared_ptr<IStatusLine> _statusline;
std::shared_ptr<IGenerationTracker> _generation_tracker;
std::shared_ptr<IStatusManager> _status_manager;
IStatusLineSubscriberAdapterFactory<Vector2>