Added ANGLE_MIN_OFFSET and ANGLE_MAX_OFFSET

This commit is contained in:
Pradana AUMARS 2021-06-28 16:01:49 +02:00
parent 0462b187b4
commit 30fc668684
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@ typedef struct Ball {
const int BALL_HEIGHT;
const int BALL_VELOCITY;
const int BALL_POSX_START;
const int BALL_ANGLE_MIN_OFFSET;
const int BALL_ANGLE_MAX_OFFSET;
const int SCREEN_WIDTH;
const int SCREEN_HEIGHT;
int posX;

View File

@ -109,7 +109,7 @@ Pong_run(Pong *p) {
Racket_move(p->racketL);
Racket_move(p->racketR);
Pong_render(p);
Pong_score_run(p);
//Pong_score_run(p);
}
Pong_score_end(p);
}