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
Mylloon bf74632047
update
* add const identifiers
* expose category for children
* documentation
* helper for ignoring arguments
* reduce useless imports
* use enum for categories
* refactor Dames instanciation
2023-12-14 17:09:27 +01:00

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;
};