Home
last modified time | relevance | path

Searched refs:mSnakeTrail (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>(); field in SnakeView
158 mSnakeTrail.clear(); in initNewGame()
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()
214 map.putIntArray("mSnakeTrail", coordArrayListToArray(mSnakeTrail)); in saveState()
250 mSnakeTrail = coordArrayToArrayList(icicle.getIntArray("mSnakeTrail")); in restoreState()
[all …]