@ -9,6 +9,18 @@ typedef struct {
int speedY;
} Ball;
void updateBallPosition(Ball *ball) {
struct Ball {
int x;
int y;
int speedX;
};
ball->x += ball->speedX;
ball->y += ball->speedY;
}
void setUp(void){
//Wenn Funktion Vorraussetzungen braucht