Browse Source

Versuch Test zum laufen zu bringen

remotes/origin/branchJulia
fdai8040 11 months ago
parent
commit
4d705138bb
  1. 12
      test/Pong/test_updateBallPosition.c

12
test/Pong/test_updateBallPosition.c

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

Loading…
Cancel
Save