Searched refs:positionY (Results 1 – 2 of 2) sorted by relevance
420 float positionX, positionY;427 positionY = mRandom.nextInt(getHeight());431 positionY = mRandom.nextInt(getHeight());435 positionY = -size;439 positionY = getHeight() + size;445 } while (mShip.distanceTo(positionX, positionY) < minDistance);454 obstacle.setPosition(positionX, positionY);
395 float positionX, positionY; in step() local400 positionY = mRandom.nextInt(getHeight()); in step()404 positionY = mRandom.nextInt(getHeight()); in step()408 positionY = -size; in step()412 positionY = getHeight() + size; in step()422 if (currentShip.distanceTo(positionX, positionY) < minDistance) { in step()442 obstacle.setPosition(positionX, positionY); in step()