Browse Source

refactoring:

main
Justin Senn 2 years ago
parent
commit
1a15e4d671
  1. 8
      src/main/java/Snake/AppleView.java

8
src/main/java/Snake/AppleView.java

@ -1,6 +1,8 @@
package Snake;
import java.awt.*;
import java.awt.Point;
import java.awt.Color;
import java.awt.Graphics;
public class AppleView implements Drawable
{
@ -10,9 +12,7 @@ public class AppleView implements Drawable
public AppleView(int size)
{
int x = 0;
int y = 0;
position = new Point(x, y);
position = new Point(0, 0);
this.size = size;
}

Loading…
Cancel
Save