diff --git a/src/main/java/Snake/Apple.java b/src/main/java/Snake/Apple.java index 7716cbe..5784760 100644 --- a/src/main/java/Snake/Apple.java +++ b/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); } } \ No newline at end of file