Mylloon
bf74632047
* add const identifiers * expose category for children * documentation * helper for ignoring arguments * reduce useless imports * use enum for categories * refactor Dames instanciation
15 lines
374 B
C++
15 lines
374 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(const std::function<void()> f = {[]() {}}) const;
|
|
};
|