Modifications

Sauter à la navigation Sauter à la recherche
Ligne 132 : Ligne 132 :     
== La boucle principale ==
 
== La boucle principale ==
This is a key point. The main loop of you program is now taken care of by pygameui. The [https://en.wikipedia.org/wiki/Inversion_of_control control has been inverted] - we've supplied pygameui with code to call when certain user actions occur.
+
C'est le point clé du programme. La boucle principale de votre programe est maintenant pris en charge par pygameui. Le [https://en.wikipedia.org/wiki/Inversion_of_control contrôle du programme est ''inversé''] - Nous fournissons à pygameui le code a appeler lorsque certaines actions utilisateurs arrivent.
   −
The pygameui main loop is started with this final line of code:
+
La boucle principale de pygameui est démarré à l'aide de cette dernière ligne de code:
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 140 : Ligne 140 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
As usual, you can run this from the pygamelcd project:
+
Comme d'habitude, vous pouvez exécuter ce programme depuis le projet pygamelcd :
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
29 918

modifications

Menu de navigation