Browse Source

update

main
Justin Senn 2 years ago
parent
commit
2cf976ed7f
  1. 2
      src/main/java/Snake/Apple.java

2
src/main/java/Snake/Apple.java

@ -18,7 +18,7 @@ public class Apple
{
int x = ThreadLocalRandom.current().nextInt(0, gridSize);
int y = ThreadLocalRandom.current().nextInt(0, gridSize);
position.setLocation(x, y);
}
}
Loading…
Cancel
Save