Home
last modified time | relevance | path

Searched refs:asteroid (Results 1 – 1 of 1) sorted by relevance

/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoyView.java587 Asteroid asteroid = mDangerWillRobinson.elementAt(i); in doAsteroidAnimation() local
589 if (!asteroid.mMissed) in doAsteroidAnimation()
590 mJetBoyY = asteroid.mDrawY; in doAsteroidAnimation()
596 mAsteroids[(asteroid.mAniIndex + animOffset) % mAsteroids.length], in doAsteroidAnimation()
597 asteroid.mDrawX, asteroid.mDrawY, null); in doAsteroidAnimation()
821 Asteroid asteroid = mDangerWillRobinson.elementAt(i); in updateAsteroids() local
825 if (asteroid.mDrawX <= mAsteroidMoveLimitX + 20 && !asteroid.mMissed) in updateAsteroids()
836 ex.mDrawX = asteroid.mDrawX; in updateAsteroids()
837 ex.mDrawY = asteroid.mDrawY; in updateAsteroids()
850 asteroid.mMissed = true; in updateAsteroids()
[all …]