From d91c2b17d1ea1fe31d310ebf91c77573faec23d5 Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Mon, 6 Feb 2023 15:43:17 +0100 Subject: [PATCH] update --- src/main/java/Snake/Snake.java | 17 +++++++++++++++++ target/classes/Snake/Drawable.class | Bin 0 -> 143 bytes 2 files changed, 17 insertions(+) create mode 100644 src/main/java/Snake/Snake.java create mode 100644 target/classes/Snake/Drawable.class diff --git a/src/main/java/Snake/Snake.java b/src/main/java/Snake/Snake.java new file mode 100644 index 0000000..d13e1f9 --- /dev/null +++ b/src/main/java/Snake/Snake.java @@ -0,0 +1,17 @@ +package Snake; + + +import java.awt.Point; +import java.util.ArrayList; + +public class Snake { + + public enum SnakeDirection { UP, RIGHT, DOWN, LEFT }; + + private final ArrayList bodySegments = new ArrayList<>(); + + private SnakeDirection direction; + + + +} diff --git a/target/classes/Snake/Drawable.class b/target/classes/Snake/Drawable.class new file mode 100644 index 0000000000000000000000000000000000000000..87c9ceb3091cd27d98e40fdc2089dde680889029 GIT binary patch literal 143 zcmX^0Z`VEs1_oOOPId++Mh3p%yu|EOeV3xd^2DT^RCWdyMh1bb#Ii*FoW#6zegCAa z)Z`LI29^|{0!9Wg4Ii*vVtI+adr@LRMrLxcwPqM216OcFKr9A!Aj!nQ0RR=NA(j9D literal 0 HcmV?d00001