graphics2d.drawImage(beginImage, position.x - 15, position.y, null);
graphics2d.drawImage(endImage, position.x - 15, position.y + this.heigth - 30, null);position 是什么东东?他的初期只有问题吧?
graphics2d.drawImage(endImage, position.x - 15, position.y + this.heigth - 30, null);position 是什么东东?他的初期只有问题吧?
方法就是画图片beginImage,右上角在坐标(position.x - 15,position.y)处