1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-03-14 14:54:33 +00:00
PokeHES/src/Entity/Enemy.java

38 lines
738 B
Java
Raw Normal View History

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:08:18 +02:00
turn(Character.Direction.DOWN);
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-05-25 15:32:53 +02:00
}