pr qui jme prend

This commit is contained in:
Mylloon 2023-12-28 00:01:59 +01:00
parent 15321d0032
commit c5bfc4001f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -12,7 +12,7 @@ Ecran::~Ecran() {}
void Ecran::afficher( void Ecran::afficher(
const std::function<void()> dessin, const std::function<void()> dessin,
const std::function<void(const int, const int)> onclick) const { const std::function<void(const int, const int)> onclick) const {
// Boolean flag to track whether the mouse button is pressed // Flag qui track si le clic gauche est pressé
bool mouseButtonPressed = false; bool mouseButtonPressed = false;
while (window.isOpen()) { while (window.isOpen()) {