Lines Matching refs:mObstacles
67 private final List<Obstacle> mObstacles; field in GameView
90 mObstacles = new ArrayList<Obstacle>(); in GameView()
233 int numObstacles = mObstacles.size(); in onDraw()
235 final Obstacle obstacle = mObstacles.get(i); in onDraw()
311 mObstacles.clear(); in reset()
349 int numObstacles = mObstacles.size(); in step()
351 final Obstacle obstacle = mObstacles.get(i); in step()
353 mObstacles.remove(i); in step()
363 final Obstacle obstacle = mObstacles.get(j); in step()
375 final Obstacle obstacle = mObstacles.get(i); in step()
390 int tries = MAX_OBSTACLES - mObstacles.size() + 10; in step()
392 while (mObstacles.size() < MAX_OBSTACLES && tries-- > 0) { in step()
433 tries = MAX_OBSTACLES - mObstacles.size() + 10; in step()
445 mObstacles.add(obstacle); in step()