From 3dbf3b68c484704aafcda9fd05ae88a0337956ef Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 19 Mar 2022 13:28:29 +0100 Subject: feat: add inserting cells --- src/engine/graphics/scene.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/engine/graphics/scene.hpp') 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> & + get_matrix() const noexcept override; + private: bool _is_shown; - IMatrixFactory _matrix_factory; - + std::shared_ptr> _matrix; std::shared_ptr _cursor_controller; std::shared_ptr _window; }; -- cgit v1.2.3-18-g5258