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

dialog ok

This commit is contained in:
Fastium
2022-06-10 19:33:24 +02:00
parent 4c47120c40
commit 0fe608e183
10 changed files with 149 additions and 69 deletions

View File

@ -1,19 +1,16 @@
package Entity;
import com.badlogic.gdx.math.Vector2;
import Text.TextEnemy;
import com.badlogic.gdx.math.Vector2;
public class Enemy extends Character{
private String map;
public TextEnemy textEnemy;
public Enemy(String name, int x, int y, String img, String map) {
super(name, x, y, img);
//generate his text
this.textEnemy = new TextEnemy("enemi"); //TODO should be name
textEnemy.generateText();
this.map = map;
turn(Character.Direction.DOWN);