>std::shared_ptr<sf::RenderWindow> window; >std::shared_ptr<sf::Sprite> background, bird, pipeBottom, pipeTop; None of that should be shared_ptr, in fact they shouldn't be pointers at all. >auto flappy =…
>std::shared_ptr<sf::RenderWindow> window; >std::shared_ptr<sf::Sprite> background, bird, pipeBottom, pipeTop; None of that should be shared_ptr, in fact they shouldn't be pointers at all. >auto flappy =…