mise à jour

This commit is contained in:
2023-12-10 22:51:36 +01:00
parent 81aa9fae9b
commit eaea71caa3
5 changed files with 47 additions and 19 deletions

View File

@@ -72,7 +72,7 @@ int** deplacement(int* p, int timer) {
if (TouchEnAttente() == 1) {
if (Touche() == "XK_Left") {
if (Touche() == XK_Left) {
p[tete[0]][tete[1]] = 0;
@@ -84,7 +84,7 @@ int** deplacement(int* p, int timer) {
}
if (Touch() == "XK_Right") {
if (Touch() == XK_Right) {
p[tete[0]][tete[1]] = 0;
@@ -96,7 +96,7 @@ int** deplacement(int* p, int timer) {
}
if (Touch() == "XK_Up") {
if (Touch() == XK_Up") {
p[tete[0]][tete[1]] = 0;