15 lines
362 B
C++
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 = {[]() {}});
|
|
};
|