fr
This commit is contained in:
parent
fbc738952b
commit
33254abc33
1 changed files with 3 additions and 3 deletions
|
@ -12,11 +12,11 @@ struct Ecran {
|
||||||
~Ecran(); // destructor
|
~Ecran(); // destructor
|
||||||
|
|
||||||
void afficher(
|
void afficher(
|
||||||
/* Function called at each frame */
|
/* Fonction appellée à chaque image */
|
||||||
const std::function<void()> drawEachFrame = {[]() {}},
|
const std::function<void()> drawEachFrame = {[]() {}},
|
||||||
|
|
||||||
/* Take 2 arguments: position X, position Y
|
/* Prend 2 arguments: position X, position Y
|
||||||
* -> called each time user left-click */
|
* -> appellé à chaque fois que l'utilisateur fait clic gauche */
|
||||||
const std::function<void(const int, const int)> doOnClick = {
|
const std::function<void(const int, const int)> doOnClick = {
|
||||||
[](const int, const int) {}}) const;
|
[](const int, const int) {}}) const;
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue