Home
last modified time | relevance | path

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

/development/samples/Snake/src/com/example/android/snake/
DSnakeView.java104 private static final Random RNG = new Random(); field in SnakeView
383 int newX = 1 + RNG.nextInt(mXTileCount - 2); in addRandomApple()
384 int newY = 1 + RNG.nextInt(mYTileCount - 2); in addRandomApple()