diff options
Diffstat (limited to 'src/engine/graphics/scene.hpp')
-rw-r--r-- | src/engine/graphics/scene.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/graphics/scene.hpp b/src/engine/graphics/scene.hpp index 5e74725..268f8dc 100644 --- a/src/engine/graphics/scene.hpp +++ b/src/engine/graphics/scene.hpp @@ -3,9 +3,9 @@ #include "interfaces/cursor.hpp" #include "interfaces/matrix.hpp" #include "interfaces/scene.hpp" -#include "interfaces/window.hpp" #include <fmt/core.h> + #include <memory> #include <string_view> @@ -17,13 +17,14 @@ class Scene : public IScene public: explicit Scene( IMatrixFactory<std::string_view> matrix_factory, - std::shared_ptr<ICursorController> cursor_controller, - std::shared_ptr<IWindow> window) noexcept; + std::shared_ptr<ICursorController> cursor_controller) noexcept; void enter() noexcept override; void leave() noexcept override; + [[nodiscard]] auto size() const noexcept -> Bounds override; + [[nodiscard]] auto get_matrix() const noexcept -> const std::shared_ptr<IMatrix<std::string_view>> & override; @@ -32,5 +33,4 @@ private: std::shared_ptr<IMatrix<std::string_view>> _matrix; std::shared_ptr<ICursorController> _cursor_controller; - std::shared_ptr<IWindow> _window; }; |