From b1a87bdd56ccb95b85f1e8fed538e73eb23146e0 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 7 Jan 2024 02:39:11 +0100 Subject: [PATCH] fps --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 42166b9..814609e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -38,6 +38,7 @@ int main(int argc, char const *argv[]) { Butin b(j1, j2); const Ecran e; + // e.toggleFps(); e.afficher({[&]() { b.play(); }}, {[&](const int x, const int y) { b.event(x, y); }}); } @@ -48,6 +49,7 @@ int main(int argc, char const *argv[]) { Dames d(j1, j2); const Ecran e; + // e.toggleFps(); e.afficher({[&]() { d.play(); }}, {[&](const int x, const int y) { d.event(x, y); }}); } @@ -70,6 +72,7 @@ int main(int argc, char const *argv[]) { } const Ecran e; + e.toggleFps(); e.afficher({[&]() { s->play(); }}, {[&](const int x, const int y) { s->event(x, y); }});