如题,结构清晰,使用大量物理算法 public void move() { int bubbleBoundaryX = BubbleCanvas.sWidth - getWidth() / 2; int bubbleBoundaryY = BubbleCanvas.sHeight- getWidth() / 2; if (type > 0) { int tempY; int tempX; tempX = x + xSpeed; tempY = y + ySpeed; int imgHalfWidth = getWidth() / 2;