Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DPlayerComponent.java195 float postDragSpeed = currentSpeed - in move() local
197 if (Utils.sign(currentSpeed) != Utils.sign(postDragSpeed)) { in move()
198 postDragSpeed = 0.0f; in move()
199 } else if (Math.abs(postDragSpeed) < maxHorizontalSpeed) { in move()
200 postDragSpeed = maxHorizontalSpeed * Utils.sign(postDragSpeed); in move()
202 parentObject.getVelocity().x = (postDragSpeed); in move()