Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java715 double fuelUsed = elapsedFiring * PHYS_FUEL_SEC; in updatePhysics() local
719 if (fuelUsed > mFuel) { in updatePhysics()
720 elapsedFiring = mFuel / fuelUsed * elapsed; in updatePhysics()
721 fuelUsed = mFuel; in updatePhysics()
727 mFuel -= fuelUsed; in updatePhysics()