Searched refs:positionX (Results 1 – 2 of 2) sorted by relevance
420 float positionX, positionY;426 positionX = -size;430 positionX = getWidth() + size;434 positionX = mRandom.nextInt(getWidth());438 positionX = mRandom.nextInt(getWidth());445 } while (mShip.distanceTo(positionX, positionY) < minDistance);454 obstacle.setPosition(positionX, positionY);
395 float positionX, positionY; in step() local399 positionX = -size; in step()403 positionX = getWidth() + size; in step()407 positionX = mRandom.nextInt(getWidth()); in step()411 positionX = mRandom.nextInt(getWidth()); in step()422 if (currentShip.distanceTo(positionX, positionY) < minDistance) { in step()442 obstacle.setPosition(positionX, positionY); in step()