diff --git a/src/main/java/Snake/AppleView.java b/src/main/java/Snake/AppleView.java index 8f35670..2f9d955 100644 --- a/src/main/java/Snake/AppleView.java +++ b/src/main/java/Snake/AppleView.java @@ -1,10 +1,20 @@ package Snake; import java.awt.Graphics; +import java.awt.Point; public class AppleView implements Drawable{ + private final Point position; + private final int size; + public AppleView(int size) + { + int x = 0; + int y = 0; + position = new Point(x, y); + this.size = size; + } @Override public void draw(Graphics g) {