/external/replicaisland/src/com/replica/replicaisland/ |
D | NPCComponent.java | 121 parentObject.getVelocity().x = -parentObject.facingDirection.x * HIT_IMPULSE; in update() 126 if (Utils.close(parentObject.getVelocity().x, 0.0f) in update() 252 if (parentObject.getVelocity().x != 0.0f) { in executeCommand() 313 parentObject.getVelocity().y = mUpImpulse; in executeCommand() 325 parentObject.getVelocity().y = mDownImpulse; in executeCommand() 335 parentObject.getVelocity().y = 0.0f; in executeCommand() 343 parentObject.getVelocity().y = 0.0f; in executeCommand() 349 parentObject.getVelocity().y = mUpImpulse; in executeCommand() 356 parentObject.getVelocity().y = mUpImpulse; in executeCommand() 363 parentObject.getVelocity().y = mDownImpulse; in executeCommand() [all …]
|
D | NPCAnimationComponent.java | 125 final Vector2 velocity = parentObject.getVelocity(); in shouldFall() 137 final Vector2 velocity = parentObject.getVelocity(); in shouldJump() 148 final Vector2 velocity = parentObject.getVelocity(); in shouldRun() 158 final Vector2 velocity = parentObject.getVelocity(); in shouldMove() 193 final Vector2 velocity = parentObject.getVelocity(); in idle() 219 final Vector2 velocity = parentObject.getVelocity(); in walk() 256 final Vector2 velocity = parentObject.getVelocity(); in run() 292 final Vector2 velocity = parentObject.getVelocity(); in shoot() 303 final Vector2 velocity = parentObject.getVelocity(); in jumpStart() 321 final Vector2 velocity = parentObject.getVelocity(); in jumpAir()
|
D | SimplePhysicsComponent.java | 44 float velocityX = parentObject.getVelocity().x + impulse.x; in update() 45 float velocityY = parentObject.getVelocity().y + impulse.y; in update() 65 parentObject.getVelocity().set(velocityX, velocityY); in update()
|
D | MovementComponent.java | 42 sInterpolator.set(object.getVelocity().x, object.getTargetVelocity().x, in update() 48 sInterpolator.set(object.getVelocity().y, object.getTargetVelocity().y, in update() 58 object.getVelocity().set(newVelocityX, newVelocityY); in update()
|
D | PlayerComponent.java | 174 float currentSpeed = parentObject.getVelocity().x; in move() 179 parentObject.getVelocity().x = (currentSpeed); in move() 184 if (parentObject.getVelocity().y + impulse.y > MAX_UPWARD_SPEED in move() 187 if (parentObject.getVelocity().y < MAX_UPWARD_SPEED) { in move() 188 parentObject.getVelocity().y = (MAX_UPWARD_SPEED); in move() 202 parentObject.getVelocity().x = (postDragSpeed); in move() 381 parentObject.getVelocity().set(0.0f, 0.0f); in gotoStomp() 391 parentObject.getVelocity().set(0.0f, STOMP_VELOCITY); in stateStomp() 452 parentObject.getVelocity().zero(); in stateDead() 459 parentObject.getVelocity().zero(); in stateDead()
|
D | GenericAnimationComponent.java | 37 if (parentObject.facingDirection.x != 0.0f && parentObject.getVelocity().x != 0.0f) { in update() 38 parentObject.facingDirection.x = Utils.sign(parentObject.getVelocity().x); in update()
|
D | SleeperComponent.java | 85 if (parentObject.touchingGround() && parentObject.getVelocity().y < 0.0f) { in update() 88 parentObject.getVelocity().zero(); in update()
|
D | GravityComponent.java | 44 ((GameObject) parent).getVelocity().add(mScaledGravity); in update()
|
D | PatrolComponent.java | 194 … if (Utils.sign(parentObject.getTargetVelocity().x) != Utils.sign(parentObject.getVelocity().x)) { in update() 242 parentObject.getVelocity().zero(); in updateAttack()
|
D | AnimationComponent.java | 111 final float velocityX = parentObject.getVelocity().x; in update() 112 final float velocityY = parentObject.getVelocity().y; in update()
|
D | EnemyAnimationComponent.java | 65 final float velocityX = parentObject.getVelocity().x; in update()
|
D | OrbitalMagnetComponent.java | 84 final Vector2 targetVelocity = target.getVelocity(); in applyMagnetism()
|
D | GameObject.java | 168 public final Vector2 getVelocity() { in getVelocity() method in GameObject
|
D | LaunchProjectileComponent.java | 162 object.getVelocity().set(mWorkingVector); in launch()
|
D | GhostComponent.java | 116 && parentObject.getVelocity().y <= 0.0f in update()
|
D | PhysicsComponent.java | 60 final Vector2 currentVelocity = parentObject.getVelocity(); in update()
|
D | CameraSystem.java | 129 if (mBias.length2() > 0.0f && mTarget.getVelocity().length2() > 1.0f) { in update()
|
D | GameObjectFactory.java | 2115 object.getVelocity().x = 50.0f * object.facingDirection.x; 2382 object.getVelocity().x = 75.0f * object.facingDirection.x; 2481 object.getVelocity().x = 25.0f * object.facingDirection.x;
|
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
D | Listener.java | 81 public Vector3f getVelocity() { in getVelocity() method in Listener
|
D | AudioNode.java | 465 public Vector3f getVelocity() { in getVelocity() method in AudioNode
|
/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/ |
D | AndroidAudioRenderer.java | 116 Vector3f vel = src.getVelocity(); in updateSourceParam() 212 Vector3f vel = listener.getVelocity(); in updateListenerParam()
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/audio/lwjgl/ |
D | LwjglAudioRenderer.java | 330 Vector3f vel = src.getVelocity(); in updateSourceParam() 453 Vector3f vel = src.getVelocity(); in setSourceParams() 537 Vector3f vel = listener.getVelocity(); in updateListenerParam() 549 Vector3f vel = listener.getVelocity(); in setListenerParams()
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
D | SweepSphere.java | 85 public Vector3f getVelocity() { in getVelocity() method in SweepSphere
|