mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-07-07 17:01:10 +00:00
add fight data at enemy
This commit is contained in:
@ -1,14 +1,21 @@
|
||||
package Entity;
|
||||
|
||||
import Text.FightData;
|
||||
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
|
||||
import ch.hevs.gdx2d.lib.GdxGraphics;
|
||||
|
||||
public class Enemy extends Character{
|
||||
|
||||
public FightData fightData;
|
||||
|
||||
public Enemy(String name, int x, int y, String img) {
|
||||
super(name, x, y, img);
|
||||
//generate the vector of fight
|
||||
fightData = new FightData(name);
|
||||
//TODO Auto-generated constructor stub
|
||||
|
||||
}
|
||||
|
||||
public void setPosition(int x, int y){
|
||||
|
Reference in New Issue
Block a user