import java.awt.event.KeyEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
public class Enemy {
private int x;
private int y;
private GameManager gameManager;
public Enemy(GameManager gameManager, int x, int y) {
super();
this.x = x;
this.y = y;
this.gameManager = gameManager;
}
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 GameManager getGameManager() {
return gameManager;
}
public void setGameManager(GameManager gameManager) {
this.gameManager = gameManager;
}
public void performAction() {
}
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;
}
}