Home
last modified time | relevance | path

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

/development/samples/Snake/src/com/example/android/snake/
DSnakeView.java379 Coordinate newCoord = null; in addRandomApple() local
385 newCoord = new Coordinate(newX, newY); in addRandomApple()
391 if (mSnakeTrail.get(index).equals(newCoord)) { in addRandomApple()
400 if (newCoord == null) { in addRandomApple()
403 mAppleList.add(newCoord); in addRandomApple()