diff options
Diffstat (limited to 'src/engine/graphics/scene.hpp')
-rw-r--r-- | src/engine/graphics/scene.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/graphics/scene.hpp b/src/engine/graphics/scene.hpp index 22a96a4..1f1c51c 100644 --- a/src/engine/graphics/scene.hpp +++ b/src/engine/graphics/scene.hpp @@ -29,11 +29,13 @@ public: void write_status(const std::string_view &str) noexcept override; + [[nodiscard]] const std::shared_ptr<IMatrix<std::string_view>> & + get_matrix() const noexcept override; + private: bool _is_shown; - IMatrixFactory<std::string_view> _matrix_factory; - + std::shared_ptr<IMatrix<std::string_view>> _matrix; std::shared_ptr<ICursorController> _cursor_controller; std::shared_ptr<IWindow> _window; }; |