Ligne 94 : |
Ligne 94 : |
| MovementsCls.append( Left ) | | MovementsCls.append( Left ) |
| MovementsCls.append( Right ) | | MovementsCls.append( Right ) |
− | MovementsCls.append( Hello )</nowiki> | + | MovementsCls.append( Hello )</nowiki> |
− |
| |
| === class Forward( Movement ) === | | === class Forward( Movement ) === |
| ENG: Make a forward movement for the Robot. Movement names: 'FORWARD','F' | | ENG: Make a forward movement for the Robot. Movement names: 'FORWARD','F' |
Ligne 112 : |
Ligne 111 : |
| | | |
| === class Right( Movement ) === | | === class Right( Movement ) === |
− | ENG: Make a Right rotation movement for the Robot. Movement names: 'RIGHT','R' | + | ENG: Make a Right rotation movement for the Robot. Find here under a picture explaining how the "movement" is taken in charge by the class.<br />Movement names: 'RIGHT','R' |
| | | |
− | FR: Fait un mouvement de rotation sur la droite. Noms du mouvement: 'RIGHT','R' | + | FR: Fait un mouvement de rotation sur la droite. Vous trouverez ci-dessous un graphique expliquant comment le mouvement est pris en charge par la classe<br />Noms du mouvement: 'RIGHT','R' |
| + | |
| + | [[Fichier:DOGGY-rotate-how-to.jpg]] |
| | | |
| === class Hello( Movement ) === | | === class Hello( Movement ) === |