Browse Source

Ball anzeigen (vergessen)

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

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

@ -138,7 +138,7 @@ int main(){
ball.speedX = -ball.speedX;
}
draw Field(paddle1PositionY, paddle2PositionY,score1, score2);
draw Field(paddle1PositionY, paddle2PositionY, ball, score1, score2);
// Spielende überprüfen
if (score1 == maxScore || score2 == maxScore) {

Loading…
Cancel
Save