aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index d629400..8363c4d 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -8,6 +8,7 @@
#include "interfaces/matrix.hpp"
#include "interfaces/scene.hpp"
#include "interfaces/status_manager.hpp"
+#include "interfaces/statusline.hpp"
#include "engine/data/vector2.hpp"
@@ -25,6 +26,7 @@ class Game : public IGame
{
public:
Game(
+ IStatusLineFactory statusline_factory,
std::shared_ptr<IScene> scene,
std::shared_ptr<ICursorController> cursor_controller,
std::shared_ptr<IGenerationTracker> generation_tracker,
@@ -39,6 +41,8 @@ public:
void on_exit() const noexcept override;
private:
+ IStatusLineFactory _statusline_factory;
+
std::shared_ptr<IScene> _scene;
std::shared_ptr<ICursorController> _cursor_controller;
std::shared_ptr<IGenerationTracker> _generation_tracker;