#pragma once #include "interfaces/cursor.hpp" #include "interfaces/matrix.hpp" #include "engine/data/bounds.hpp" #include #include #include // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) class IScene { public: virtual ~IScene() noexcept = default; using MatrixElement = char; virtual void enter() noexcept = 0; virtual void leave() noexcept = 0; [[nodiscard]] virtual auto size() const noexcept -> Bounds = 0; [[nodiscard]] virtual auto get_matrix() const noexcept -> const std::shared_ptr> & = 0; }; using ISceneFactory = yacppdic::Factory( const std::shared_ptr &cursor_controller)>;