Browse Source

refactoring: Lesbarkeit des Codes verbessert

main
David PC Saiz 2 years ago
parent
commit
20ccfda56d
  1. 12
      src/Paper-Bin.c

12
src/Paper-Bin.c

@ -45,15 +45,15 @@ struct Player
int Points;
}playerlist[11];
//Methode die den Eimer erstellt
void buildBin(int width, int heigth)
{
field[width][heigth] = 'V';
field[width+1][heigth+1] = '\\';
field[width+2][heigth+2] = '\\';
field[width-1][heigth+1] = '/';
field[width-2][heigth+2] = '/';
field[width][heigth+1] = ' ';
field[width + 1][heigth + 1] = '\\';
field[width + 2][heigth + 2] = '\\';
field[width - 1][heigth + 1] = '/';
field[width - 2][heigth + 2] = '/';
field[width][heigth + 1] = ' ';
}
void loadLevel(int lvlnum)

Loading…
Cancel
Save