1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-07 17:01:10 +00:00

all merge done without error

This commit is contained in:
2022-06-09 19:15:11 +02:00
parent a2ef0d2725
commit 419c8ed93f
5 changed files with 76 additions and 14 deletions

View File

@ -1,5 +1,6 @@
package Entity;
import Text.FightData;
import Text.TextEnemy;
import com.badlogic.gdx.math.Vector2;
@ -14,13 +15,13 @@ public class Enemy extends Character{
public Enemy(String name, int x, int y, String img, String map) {
super(name, x, y, img);
//generate his text
this.textEnemy = new TextEnemy(name);
this.textEnemy = new TextEnemy("enemi"); //TODO should be name
textEnemy.generateText();
this.map = map;
turn(Character.Direction.DOWN);
//generate the vector of fight
fightData = new FightData(name);
//FightData fightData = new FightData(name);
}