#pragma once #include "components.hpp" #include namespace cinematic { struct Camera { components::Animation anim; sf::View view; sf::Vector2f size; Camera(); void resize(sf::Vector2f size); void move(sf::RenderTexture& target, sf::Vector2f pos); bool playing(); void play(); void style(const std::string &name); }; void init(); }