Browse Source

Methode die checkt, ob ein Tor gemacht wurde

main
David PC Saiz 2 years ago
parent
commit
8cb3186e69
  1. BIN
      build/artifacts/release/Paper-Bin.out
  2. BIN
      build/release/Paper-Bin.out
  3. BIN
      build/release/out/c/Paper-Bin.o
  4. 7
      src/Paper-Bin.c

BIN
build/artifacts/release/Paper-Bin.out

BIN
build/release/Paper-Bin.out

BIN
build/release/out/c/Paper-Bin.o

7
src/Paper-Bin.c

@ -126,3 +126,10 @@ void addScoreboard()
fclose(fp);
}
int checkBallPosition()
{
if (BinY + 24 == Bally && (Ballx == BinX || Ballx == BinX + 2 || Ballx == BinX - 2))
{
return 1;
}
}
Loading…
Cancel
Save