Browse Source

update

main
Justin Senn 2 years ago
parent
commit
d91c2b17d1
  1. 17
      src/main/java/Snake/Snake.java
  2. BIN
      target/classes/Snake/Drawable.class

17
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<Point> bodySegments = new ArrayList<>();
private SnakeDirection direction;
}

BIN
target/classes/Snake/Drawable.class

Loading…
Cancel
Save