Browse Source

Vergessen Int isPaused

remotes/origin/branchJulia
fdai8040 11 months ago
parent
commit
285a26a686
  1. 2
      src/main/c/Pong/game.c

2
src/main/c/Pong/game.c

@ -22,7 +22,7 @@ void clearScreen() {
system("clear"); system("clear");
} }
void drawField(int paddle1PositionY, int paddle2PositionY, Ball ball, int score1, int score2) {
void drawField(int paddle1PositionY, int paddle2PositionY, Ball ball, int score1, int score2, int isPaused) {
clearScreen(); clearScreen();
for (int i = 0; i <= HEIGHT; i++){ for (int i = 0; i <= HEIGHT; i++){

Loading…
Cancel
Save