From 1ab4a9cf186f025cfb3d4a13e73bb281b14198e2 Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Mon, 6 Feb 2023 15:17:10 +0100 Subject: [PATCH] update --- src/main/java/Snake/Apple.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/Snake/Apple.java b/src/main/java/Snake/Apple.java index 8e12d44..234bffd 100644 --- a/src/main/java/Snake/Apple.java +++ b/src/main/java/Snake/Apple.java @@ -26,4 +26,9 @@ public class Apple position.setLocation(newPosition); } + public Point getPosition() + { + return position; + } + } \ No newline at end of file