import java.awt.image.BufferedImage;import java.io.File;import java.io.IOException;import javax.imageio.ImageIO;public class Goal {private int x;private int y;public int getX() {return x;}public void setX(int x) {this.x = x;}public int getY() {return y;}public void setY(int y) {this.y = y;代写Java编程、Java实验代写、代写Java课程设计、Java课程设计代写、调试Java作业}public Goal(int x, int y) {super();this.x = x;this.y = y;}public void die() {try {ImageIO.read(new File(&"C:/Users/G/Desktop/goal-dead.png&"));} catch (IOException e) {// TODO Auto-generated catch blocke.printStackTrace();}}public BufferedImage getCurrentImage() {return null;}}& 转自:http://ass.3daixie.com/2018061815675261.html
原著是一个有趣的人,若有侵权,请通知删除
还没有人抢沙发呢~