Home | History | Annotate | Download | only in replicaisland

Lines Matching refs:velocity

125             final Vector2 velocity = parentObject.getVelocity();
126 if (velocity.y < FALL_SPEED_THRESHOLD) {
137 final Vector2 velocity = parentObject.getVelocity();
138 if (velocity.y > JUMP_SPEED_THRESHOLD) {
148 final Vector2 velocity = parentObject.getVelocity();
149 if (Math.abs(velocity.x) >= RUN_SPEED_THRESHOLD) {
158 final Vector2 velocity = parentObject.getVelocity();
161 if ((velocity.x < 0.0f && parentObject.touchingLeftWall())
162 || (velocity.x > 0.0f && parentObject.touchingRightWall())) {
193 final Vector2 velocity = parentObject.getVelocity();
199 } else if (Math.abs(velocity.x) > 0.0f && shouldMove(parentObject)) {
219 final Vector2 velocity = parentObject.getVelocity();
225 } else if (Math.abs(velocity.x) > 0.0f) {
229 if (velocity.x > 0.0f) {
256 final Vector2 velocity = parentObject.getVelocity();
262 } else if (Math.abs(velocity.x) > 0.0f) {
267 if (velocity.x > 0.0f) {
292 final Vector2 velocity = parentObject.getVelocity();
294 if (velocity.x > 0.0f) {
296 } else if (velocity.x < 0.0f) {
303 final Vector2 velocity = parentObject.getVelocity();
305 if (velocity.x > 0.0f) {
307 } else if (velocity.x < 0.0f) {
321 final Vector2 velocity = parentObject.getVelocity();
324 if (Math.abs(velocity.x) > 0.0f) {
335 if (velocity.x > 0.0f) {
337 } else if (velocity.x < 0.0f) {