pr qui jme prend
This commit is contained in:
parent
15321d0032
commit
c5bfc4001f
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Reference in a new issue