graphics2d.drawImage(beginImage, position.x - 15, position.y, null);
graphics2d.drawImage(endImage, position.x - 15, position.y + this.heigth - 30, null);position  是什么东东?他的初期只有问题吧?