This commit is contained in:
Mylloon 2024-01-07 02:39:11 +01:00
parent 71c27206b2
commit b1a87bdd56
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

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