2022-05-25 15:32:53 +02:00
|
|
|
package Entity;
|
|
|
|
|
2022-06-08 20:04:16 +02:00
|
|
|
import Text.FightData;
|
|
|
|
|
2022-06-01 16:47:53 +02:00
|
|
|
import com.badlogic.gdx.math.Vector2;
|
|
|
|
|
2022-06-07 21:35:13 +02:00
|
|
|
import ch.hevs.gdx2d.lib.GdxGraphics;
|
|
|
|
|
2022-05-25 15:32:53 +02:00
|
|
|
public class Enemy extends Character{
|
2022-06-07 21:35:13 +02:00
|
|
|
|
2022-06-08 20:04:16 +02:00
|
|
|
public FightData fightData;
|
|
|
|
|
2022-06-07 21:35:13 +02:00
|
|
|
public Enemy(String name, int x, int y, String img) {
|
|
|
|
super(name, x, y, img);
|
2022-06-08 20:04:16 +02:00
|
|
|
//generate the vector of fight
|
|
|
|
fightData = new FightData(name);
|
2022-06-07 21:35:13 +02:00
|
|
|
//TODO Auto-generated constructor stub
|
2022-06-08 20:04:16 +02:00
|
|
|
|
2022-06-01 16:47:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setPosition(int x, int y){
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPosition(Vector2 vPosition){
|
|
|
|
setPosition((int)vPosition.x, (int)vPosition.y);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected void removedPv(int pv) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
}
|
2022-06-07 21:35:13 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void draw(GdxGraphics arg0) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
}
|
2022-06-01 16:47:53 +02:00
|
|
|
|
2022-05-25 15:32:53 +02:00
|
|
|
}
|