diff --git a/src/main/java/Snake/SnakeView.java b/src/main/java/Snake/SnakeView.java index f3994b4..847cff4 100644 --- a/src/main/java/Snake/SnakeView.java +++ b/src/main/java/Snake/SnakeView.java @@ -1,10 +1,19 @@ package Snake; import java.awt.*; +import java.util.ArrayList; public class SnakeView implements Drawable{ + private final int cellSize; + private ArrayList positions; + + public SnakeView(int cellSize) + { + positions = new ArrayList<>(); + this.cellSize = cellSize; + } @Override diff --git a/target/classes/Snake/Snake$1.class b/target/classes/Snake/Snake$1.class new file mode 100644 index 0000000..770fd9f Binary files /dev/null and b/target/classes/Snake/Snake$1.class differ diff --git a/target/classes/Snake/Snake$SnakeDirection.class b/target/classes/Snake/Snake$SnakeDirection.class new file mode 100644 index 0000000..dcc42de Binary files /dev/null and b/target/classes/Snake/Snake$SnakeDirection.class differ diff --git a/target/classes/Snake/Snake.class b/target/classes/Snake/Snake.class new file mode 100644 index 0000000..2a62510 Binary files /dev/null and b/target/classes/Snake/Snake.class differ diff --git a/target/classes/Snake/SnakeView.class b/target/classes/Snake/SnakeView.class new file mode 100644 index 0000000..7921841 Binary files /dev/null and b/target/classes/Snake/SnakeView.class differ