Browse Source

Deklaration von CheckBallPosition hinzugefügt

main
fdai7172 2 years ago
parent
commit
9400301fe4
  1. 3
      src/Paper-Bin.c

3
src/Paper-Bin.c

@ -25,6 +25,7 @@ void generateField();
void sortScoreboard();
void buildBin(int width, int height);
void getStartPosition();
int checkBallPosition();
struct Player
@ -259,7 +260,7 @@ void Generatefield() {
}
if (lvlnumber > 6 && windIntervall % 2 == 0)
{
windForce < 0 ? (Ballx -= windForce * -5) : (Ballx += windForce);
windForce < 0 ? (Ballx -= windForce * -1) : (Ballx += windForce);
}
windIntervall++;

Loading…
Cancel
Save