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

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

Completed in 48 milliseconds