|
@ -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++){ |
|
|