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

20 lines
411 B
C++
Raw Normal View History

2023-11-24 20:13:20 +01:00
#ifndef PROJECT_ECRAN_HPP
#define PROJECT_ECRAN_HPP 1
#include <SFML/Graphics.hpp>
#include <functional>
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<void()> f = {[]() {}});
};
#endif