Home
last modified time | relevance | path

Searched refs:Coordinate (Results 1 – 1 of 1) sorted by relevance

/development/samples/Snake/src/com/example/android/snake/
DSnakeView.java98 private ArrayList<Coordinate> mSnakeTrail = new ArrayList<Coordinate>();
99 private ArrayList<Coordinate> mAppleList = new ArrayList<Coordinate>();
164 mSnakeTrail.add(new Coordinate(7, 7)); in initNewGame()
165 mSnakeTrail.add(new Coordinate(6, 7)); in initNewGame()
166 mSnakeTrail.add(new Coordinate(5, 7)); in initNewGame()
167 mSnakeTrail.add(new Coordinate(4, 7)); in initNewGame()
168 mSnakeTrail.add(new Coordinate(3, 7)); in initNewGame()
169 mSnakeTrail.add(new Coordinate(2, 7)); in initNewGame()
188 private int[] coordArrayListToArray(ArrayList<Coordinate> cvec) { in coordArrayListToArray()
192 for (Coordinate c : cvec) { in coordArrayListToArray()
[all …]