fps
This commit is contained in:
parent
71c27206b2
commit
b1a87bdd56
1 changed files with 3 additions and 0 deletions
|
@ -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); }});
|
||||
|
||||
|
|
Reference in a new issue