Searched refs:mObstacles (Results 1 – 2 of 2) sorted by relevance
53 private final List<Obstacle> mObstacles; field in GameView88 mObstacles = new ArrayList<Obstacle>(); in GameView()333 mObstacles.clear();381 int numObstacles = mObstacles.size();383 final Obstacle obstacle = mObstacles.get(i);385 mObstacles.remove(i);395 final Obstacle obstacle = mObstacles.get(j);406 final Obstacle obstacle = mObstacles.get(i);416 OuterLoop: while (mObstacles.size() < MAX_OBSTACLES) {457 mObstacles.add(obstacle);[all …]
67 private final List<Obstacle> mObstacles; field in GameView90 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()[all …]