Home | History | Annotate | Download | only in controllersample

Lines Matching refs:mObstacles

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