HomeSort by relevance Sort by last modified time
    Searched refs:obstacle (Results 1 - 2 of 2) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java 41 * when a bullet is fired or the ship crashes into an obstacle. Otherwise, the
53 private final List<Obstacle> mObstacles;
88 mObstacles = new ArrayList<Obstacle>();
383 final Obstacle obstacle = mObstacles.get(i);
384 if (!obstacle.step(tau)) {
395 final Obstacle obstacle = mObstacles.get(j);
396 if (bullet.collidesWith(obstacle)) {
398 obstacle.destroy()
    [all...]
  /development/samples/ControllerSample/src/com/example/controllersample/
GameView.java 48 * a bullet is fired or the ship crashes into an obstacle. Otherwise, the system
67 private final List<Obstacle> mObstacles;
90 mObstacles = new ArrayList<Obstacle>();
235 final Obstacle obstacle = mObstacles.get(i); local
236 obstacle.draw(canvas);
351 final Obstacle obstacle = mObstacles.get(i); local
352 if (!obstacle.step(tau)) {
363 final Obstacle obstacle = mObstacles.get(j) local
375 final Obstacle obstacle = mObstacles.get(i); local
441 Obstacle obstacle = new Obstacle(); local
    [all...]

Completed in 265 milliseconds