From 2cf976ed7f4b9395994c96d36bc8883b898d76a1 Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Mon, 6 Feb 2023 15:12:44 +0100 Subject: [PATCH] update --- src/main/java/Snake/Apple.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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