mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-11-04 13:19:17 +00:00 
			
		
		
		
	dialog ok
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user