This commit is contained in:
Mylloon 2023-12-28 00:08:53 +01:00
parent fbc738952b
commit 33254abc33
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -12,11 +12,11 @@ struct Ecran {
~Ecran(); // destructor
void afficher(
/* Function called at each frame */
/* Fonction appellée à chaque image */
const std::function<void()> drawEachFrame = {[]() {}},
/* Take 2 arguments: position X, position Y
* -> called each time user left-click */
/* Prend 2 arguments: position X, position Y
* -> appellé à chaque fois que l'utilisateur fait clic gauche */
const std::function<void(const int, const int)> doOnClick = {
[](const int, const int) {}}) const;
};