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;
}
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 block
e.printStackTrace();
}
}
public BufferedImage getCurrentImage() {
return null;
}
}