#pragma once #include #include class Ecran { // FenĂȘtre sf::RenderWindow window; public: Ecran(const uint width = 800, const uint height = 800, const std::string name = "Projet"); // constructor ~Ecran(); // destructor void afficher(std::function f = {[]() {}}); };