Home
last modified time | relevance | path

Searched refs:mPreviousPosition (Results 1 – 3 of 3) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DSimpleCollisionComponent.java21 private Vector2 mPreviousPosition; field in SimpleCollisionComponent
30 mPreviousPosition = new Vector2(); in SimpleCollisionComponent()
39 mPreviousPosition.zero(); in reset()
50 if (mPreviousPosition.length2() > 0.0f) { in update()
53 mMovementDirection.subtract(mPreviousPosition); in update()
57 final boolean hit = collision.castRay(mPreviousPosition, mCurrentPosition, in update()
96mPreviousPosition.set(parentObject.getCenteredPositionX(), parentObject.getCenteredPositionY()); in update()
DBackgroundCollisionComponent.java27 private Vector2 mPreviousPosition; field in BackgroundCollisionComponent
59 mPreviousPosition = new Vector2(); in BackgroundCollisionComponent()
83 mPreviousPosition = new Vector2(); in BackgroundCollisionComponent()
101 mPreviousPosition.zero(); in reset()
139 if (mPreviousPosition.length2() != 0) { in update()
151 mDelta.subtract(mPreviousPosition); in update()
154 mPreviousCenter.add(mPreviousPosition); in update()
320 mPreviousPosition.set(parentObject.getPosition()); in update()
DNPCComponent.java38 private Vector2 mPreviousPosition; field in NPCComponent
79 mPreviousPosition = new Vector2(); in NPCComponent()
94 mPreviousPosition.zero(); in reset()
209 mPreviousPosition.set(parentObject.getPosition()); in update()