Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DPlayerComponent.java68 private float mFuel; field in PlayerComponent
103 mFuel = 0.0f; in reset()
124 if (mFuel < FUEL_AMOUNT) { in move()
126 mFuel += mDifficultyConstants.getFuelGroundRefillSpeed() * timeDelta; in move()
128 mFuel += mFuelAirRefillSpeed * timeDelta; in move()
131 if (mFuel > FUEL_AMOUNT) { in move()
132 mFuel = FUEL_AMOUNT; in move()
153 if (mFuel > 0.0f) { in move()
154 mFuel -= timeDelta; in move()
321 hud.setFuelPercent(mFuel / FUEL_AMOUNT); in update()