#pragma once #include "interfaces/cursor.hpp" #include "interfaces/game.hpp" #include "interfaces/generation_tracker.hpp" #include "interfaces/scene.hpp" #include "interfaces/status_manager.hpp" #include "interfaces/statusline_subscriber_adapter.hpp" #include class Game : public IGame { public: Game( std::shared_ptr scene, std::shared_ptr cursor_controller, std::shared_ptr generation_tracker, std::shared_ptr status_manager, IStatusLineSubscriberAdapterFactory vector2_statusline_subscriber_adapter_factory) noexcept; void on_start() noexcept override; void on_update() noexcept override; void on_exit() const noexcept override; [[nodiscard]] auto get_input_config() const noexcept -> std::unordered_map> override; private: std::shared_ptr _scene; std::shared_ptr _cursor_controller; std::shared_ptr _generation_tracker; std::shared_ptr _status_manager; IStatusLineSubscriberAdapterFactory _vector2_statusline_subscriber_adapter_factory; };