From b5b1eda379fc2760cbec31178bc974786309ebcd Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Mon, 6 Feb 2023 14:54:32 +0100 Subject: [PATCH] update --- src/main/java/Snake/Apple.java | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/main/java/Snake/Apple.java b/src/main/java/Snake/Apple.java index 23c717b..0721a32 100644 --- a/src/main/java/Snake/Apple.java +++ b/src/main/java/Snake/Apple.java @@ -1,4 +1,17 @@ package Snake; -public class Apple { -} +import java.awt.Point; + + + +public class Apple +{ + + private final Point position; + + public Apple() + { + this.position = new Point(0, 0); + } + +} \ No newline at end of file