Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DGameObject.java122 final float gameTime = time.getGameTime(); in touchingGround() local
123 final boolean touching = gameTime > 0.1f && in touchingGround()
130 final float gameTime = time.getGameTime(); in touchingCeiling() local
131 final boolean touching = gameTime > 0.1f && in touchingCeiling()
138 final float gameTime = time.getGameTime(); in touchingLeftWall() local
139 final boolean touching = gameTime > 0.1f && in touchingLeftWall()
146 final float gameTime = time.getGameTime(); in touchingRightWall() local
147 final boolean touching = gameTime > 0.1f && in touchingRightWall()
DPlayerComponent.java218 final float gameTime = time.getGameTime(); in update() local
234 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 …]
DAnimationComponent.java127 final float gameTime = time.getGameTime(); in update() local
147 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()
DLauncherComponent.java64 final float gameTime = time.getGameTime(); in update() local
73 if (gameTime > mLaunchTime) { in update()
83 } else if (gameTime > mLaunchTime + mPostLaunchDelay) { in update()
98 final float gameTime = time.getGameTime(); in prepareToLaunch() local
100 mLaunchTime = gameTime + mLaunchDelay; in prepareToLaunch()
DLaunchProjectileComponent.java91 final float gameTime = time.getGameTime(); in update() local
100 mSetStartedTime = gameTime; in update()
105 if (gameTime - mSetStartedTime >= setDelay && in update()
108 final float timeSinceLastShot = gameTime - mLastProjectileTime; in update()
113 mLastProjectileTime = gameTime; in update()
DInputGameInterface.java86 final float gameTime = sSystemRegistry.timeSystem.getGameTime(); in update() local
106 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()
DHitReactionComponent.java151 final float gameTime = time.getGameTime(); in receivedHit() local
155 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() local
260 if (gameTime - mLastHitTime > timeDelta) { in update()
DPatrolComponent.java203 final float gameTime = time.getGameTime(); in updateAttack() local
217 boolean timeToAttack = (gameTime - mLastAttackTime) > mAttackDelay; in updateAttack()
240 mLastAttackTime = gameTime; in updateAttack()
247 if (gameTime - mLastAttackTime > mAttackDuration) { in updateAttack()
DGhostComponent.java112 final float gameTime = time.getGameTime(); in update() local
114 if (jumpButton.getTriggered(gameTime) in update()
125 if (attackButton.getTriggered(gameTime)) { in update()
DInputSystem.java88 final float gameTime = time.getGameTime(); in keyDown() local
89 mKeyboard.press(gameTime, keycode); in keyDown()
DInputTouchScreen.java107 public boolean getTriggered(float gameTime) { in getTriggered() argument
110 triggered = mTouchPoints[x].getTriggered(gameTime); in getTriggered()
DDoorAnimationComponent.java142 final float gameTime = time.getGameTime(); in update() local
143 final float delta = gameTime - lastPressedTime; in update()