Searched refs:mShakeTime (Results 1 – 1 of 1) sorted by relevance
24 private float mShakeTime; field in CameraSystem58 mShakeTime = 0.0f; in reset()90 mShakeTime = duration; in shake()95 return mShakeTime > 0.0f; in shaking()103 if (mShakeTime > 0.0f) { in update()104 mShakeTime -= timeDelta; in update()105 mShakeOffsetY = (float) (Math.sin(mShakeTime * SHAKE_FREQUENCY) * mShakeMagnitude); in update()