// // Created by Tom Augier on 05/06/2021 // #pragma once #include "System/System.hpp" #include "Window.hpp" #include "Component/Renderer/CameraComponent.hpp" #include "Component/Position/PositionComponent.hpp" #include #include "Wal.hpp" namespace BBM { class CameraSystem : public WAL::System { public: //! @brief A boolean indicating if the intro's animation has ended. bool hasEnded = false; //! @inherit void onUpdate(WAL::ViewEntity &entity, std::chrono::nanoseconds) override; //! @brief introduciton animation when entering gameScene bool introAnimation(WAL::ViewEntity &entity); //! @brief ctor CameraSystem(WAL::Wal &wal); //! @brief Default copy ctor CameraSystem(const CameraSystem &) = default; //! @brief Default dtor ~CameraSystem() override = default; //! @brief A CameraManager screen system can't be assigned. CameraSystem &operator=(const CameraSystem &) = delete; }; }