Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DHudSystem.java45 private float mFuelPercent; field in HudSystem
123 mFuelPercent = 1.0f; in reset()
269 if (mFuelPercent < mFuelTargetPercent) { in update()
270 mFuelPercent += (FUEL_INCREASE_BAR_SPEED * timeDelta); in update()
271 if (mFuelPercent > mFuelTargetPercent) { in update()
272 mFuelPercent = mFuelTargetPercent; in update()
274 } else if (mFuelPercent > mFuelTargetPercent) { in update()
275 mFuelPercent -= (FUEL_DECREASE_BAR_SPEED * timeDelta); in update()
276 if (mFuelPercent < mFuelTargetPercent) { in update()
277 mFuelPercent = mFuelTargetPercent; in update()
[all …]