Searched refs:gameTime (Results 1 – 12 of 12) sorted by relevance
122 final float gameTime = time.getGameTime(); in touchingGround() local123 final boolean touching = gameTime > 0.1f && in touchingGround()130 final float gameTime = time.getGameTime(); in touchingCeiling() local131 final boolean touching = gameTime > 0.1f && in touchingCeiling()138 final float gameTime = time.getGameTime(); in touchingLeftWall() local139 final boolean touching = gameTime > 0.1f && in touchingLeftWall()146 final float gameTime = time.getGameTime(); in touchingRightWall() local147 final boolean touching = gameTime > 0.1f && in touchingRightWall()
218 final float gameTime = time.getGameTime(); in update() local234 if (mInvincibleEndTime < gameTime) { in update()236 mInvincibleEndTime = gameTime + mDifficultyConstants.getGlowDuration(); in update()242 mInvincibleEndTime = gameTime + mDifficultyConstants.getGlowDuration(); in update()254 gotoWin(gameTime); in update()258 if (mInvincibleEndTime > 0.0f && (mInvincibleEndTime < gameTime || mState == State.DEAD)) { in update()270 gotoDead(gameTime); in update()274 gotoDead(gameTime); in update()278 gotoHitReact(parentObject, gameTime); in update()286 gotoDead(gameTime); in update()[all …]
127 final float gameTime = time.getGameTime(); in update() local147 mLastRocketsOnTime = gameTime; in update()149 if (gameTime - mLastRocketsOnTime < MIN_ROCKET_TIME in update()229 final float pressedTime = gameTime - attackButton.getLastPressedTime(); in update()261 if (touchingGround && gameTime > mLandThumpDelay) { in update()266 mLandThumpDelay = gameTime + LAND_THUMP_DELAY; in update()328 if (gameTime > mLastFlickerTime + FLICKER_INTERVAL) { in update()329 mLastFlickerTime = gameTime; in update()
64 final float gameTime = time.getGameTime(); in update() local73 if (gameTime > mLaunchTime) { in update()83 } else if (gameTime > mLaunchTime + mPostLaunchDelay) { in update()98 final float gameTime = time.getGameTime(); in prepareToLaunch() local100 mLaunchTime = gameTime + mLaunchDelay; in prepareToLaunch()
91 final float gameTime = time.getGameTime(); in update() local100 mSetStartedTime = gameTime; in update()105 if (gameTime - mSetStartedTime >= setDelay && in update()108 final float timeSinceLastShot = gameTime - mLastProjectileTime; in update()113 mLastProjectileTime = gameTime; in update()
86 final float gameTime = sSystemRegistry.timeSystem.getGameTime(); in update() local106 mDirectionalPad.press(gameTime, magnitude, 0.0f); in update()131 if (gameTime - trackball.getLastPressedTime() < ROLL_TIMEOUT) { in update()135 if (gameTime - mLastRollTime <= delay) { in update()145 mDirectionalPad.press(gameTime, newX, newY); in update()146 mLastRollTime = gameTime; in update()
151 final float gameTime = time.getGameTime(); in receivedHit() local155 if (mLastGameEventTime < 0.0f || gameTime > mLastGameEventTime + EVENT_SEND_DELAY) { in receivedHit()164 mLastGameEventTime = gameTime; in receivedHit()236 mLastHitTime = gameTime; in receivedHit()250 final float gameTime = time.getGameTime(); in update() local260 if (gameTime - mLastHitTime > timeDelta) { in update()
203 final float gameTime = time.getGameTime(); in updateAttack() local217 boolean timeToAttack = (gameTime - mLastAttackTime) > mAttackDelay; in updateAttack()240 mLastAttackTime = gameTime; in updateAttack()247 if (gameTime - mLastAttackTime > mAttackDuration) { in updateAttack()
112 final float gameTime = time.getGameTime(); in update() local114 if (jumpButton.getTriggered(gameTime) in update()125 if (attackButton.getTriggered(gameTime)) { in update()
88 final float gameTime = time.getGameTime(); in keyDown() local89 mKeyboard.press(gameTime, keycode); in keyDown()
107 public boolean getTriggered(float gameTime) { in getTriggered() argument110 triggered = mTouchPoints[x].getTriggered(gameTime); in getTriggered()
142 final float gameTime = time.getGameTime(); in update() local143 final float delta = gameTime - lastPressedTime; in update()