From ca3c153adbf6bb8119ad64d4b633bea77788c598 Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Mon, 6 Feb 2023 15:16:21 +0100 Subject: [PATCH] update --- src/main/java/Snake/Apple.java | 5 +++++ target/classes/Snake/Apple.class | Bin 660 -> 836 bytes 2 files changed, 5 insertions(+) diff --git a/src/main/java/Snake/Apple.java b/src/main/java/Snake/Apple.java index 5784760..8e12d44 100644 --- a/src/main/java/Snake/Apple.java +++ b/src/main/java/Snake/Apple.java @@ -21,4 +21,9 @@ public class Apple position.setLocation(x, y); } + public void setPosition(Point newPosition) + { + position.setLocation(newPosition); + } + } \ No newline at end of file diff --git a/target/classes/Snake/Apple.class b/target/classes/Snake/Apple.class index 3d0247d10c31cda0d13166e8b6bb454580245b5e..577e44f8b9e90da901087b61c785bb9af14a54e1 100644 GIT binary patch delta 381 zcmYLEO-sX25S*8^)x1Q-M60x^8tX@!TBA2XDtPaqC+|Ueh=-)mU_lUnM7;Pj3KGPF zCr{q|L*l%&RUYil?#|BadoF)gVr*cbNNGzdYVF#vwIUc6{%YUeB@JTYxM76_(q`;Z8Z%ptS9R z>%hPU@h0l17W)27<8f|4Ike%^!hnMgkw&`236VOv3vX_J&51@~Lz#7Q?EZVnVo<{} VUDO|{Gvc3xfm8lZ@CC(vXTK69F;)No delta 205 zcmYL>OAf(s7{q`7zLM4}T0!DjRnIfjJ*?fr#v$q=-H2FNS-FfGh*8Amo0%^&zngb- zgZuMx1u~XJ&@uVe?DL0NS1b%Jo^C%+t>iFJr;e>#!;x#!V5n48142fOrG}Wvdn3P7 z+mS|RLc4dOoBhnD(A(mVjPPj*(k_v!&+Lm7fP{D|s!u@5RMSvtCTC0MC2a8mxr`H^