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