HomeSort by relevance Sort by last modified time
    Searched refs:Obstacle (Results 1 - 3 of 3) 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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
LLand.java 129 private ArrayList<Obstacle> mObstaclesInPlay = new ArrayList<Obstacle>();
429 final Obstacle ob = mObstaclesInPlay.get(j);
431 L("player hit an obstacle");
447 if (v instanceof Obstacle) {
469 final Obstacle s1 = new Stem(getContext(), obstacley - yinset, false);
483 final Obstacle p1 = new Pop(getContext(), PARAMS.OBSTACLE_WIDTH);
502 final Obstacle s2 = new Stem(getContext(),
518 final Obstacle p2 = new Pop(getContext(), PARAMS.OBSTACLE_WIDTH);
668 for (Obstacle ob : mObstaclesInPlay)
    [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 79 milliseconds