This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
DamesEtCo/includes/Ecran.hpp
2023-12-01 16:36:50 +01:00

15 lines
362 B
C++

#pragma once
#include <SFML/Graphics.hpp>
#include <functional>
struct Ecran {
// Fenêtre
static sf::RenderWindow window;
Ecran(const uint width = 800, const uint height = 800,
const std::string name = "Projet"); // constructor
~Ecran(); // destructor
void afficher(std::function<void()> f = {[]() {}});
};