avancement sur le fichier deplacement.c

This commit is contained in:
2023-12-07 22:04:47 +01:00
parent 4c48419721
commit 1d7a46c3f3
3 changed files with 52 additions and 19 deletions

View File

@@ -70,7 +70,7 @@ int start (void) {
RemplirRectangle(20*(j+1),20*(i+1),20,20);
}
if ( tableau[i][j] == 1) {
if ( tableau[i][j] == 1 || tableau[i][j] == -1 || tableau[i][j] == -2) {
yellow = CouleurParComposante(255,255,0);
ChoisirCouleurDessin(yellow);
@@ -85,6 +85,7 @@ int start (void) {
RemplirRectangle(20*(j+1),20*(i+1),20,20);
}
}
}