Searched refs:RNG (Results 1 – 1 of 1) sorted by relevance
104 private static final Random RNG = new Random(); field in SnakeView383 int newX = 1 + RNG.nextInt(mXTileCount - 2); in addRandomApple()384 int newY = 1 + RNG.nextInt(mYTileCount - 2); in addRandomApple()