Searched refs:distanceTo (Results 1 – 2 of 2) sorted by relevance
445 } while (mShip.distanceTo(positionX, positionY) < minDistance);523 public float distanceTo(float x, float y) {527 public float distanceTo(Sprite other) {528 return distanceTo(other.mPositionX, other.mPositionY);534 && distanceTo(other) <= Math.max(mSize, other.mSize)
422 if (currentShip.distanceTo(positionX, positionY) < minDistance) { in step()520 public float distanceTo(float x, float y) { in distanceTo() method in GameView.Sprite524 public float distanceTo(Sprite other) { in distanceTo() method in GameView.Sprite525 return distanceTo(other.mPositionX, other.mPositionY); in distanceTo()531 && distanceTo(other) <= Math.max(mSize, other.mSize) in collidesWith()