diff --git a/src/main/c/Pong/pong.h b/src/main/c/Pong/pong.h index 4e6cfdd..9074535 100644 --- a/src/main/c/Pong/pong.h +++ b/src/main/c/Pong/pong.h @@ -5,5 +5,14 @@ int pong(); void resetScore(int *score1, int *score2); +typedef struct { + int x; + int y; + int speedX; + int speedY; +} Ball; + +void updateBallPosition(Ball* ball); + #endif