1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-10-31 03:39:16 +00:00

Merge branch 'master' into dialog-screen-battle

This commit is contained in:
Rémi Heredero
2022-06-10 19:41:27 +02:00
committed by GitHub
13 changed files with 122 additions and 82 deletions

View File

@@ -3,12 +3,11 @@ package Entity;
import com.badlogic.gdx.math.Vector2;
public class Enemy extends Character{
private String map;
public Enemy(String name, int x, int y, String img, String map) {
super(name, x, y, img);
super(name, x, y, img, map);
//generate his text
this.map = map;
@@ -19,10 +18,6 @@ public class Enemy extends Character{
}
public String getMap() {
return map;
}
public void setPosition(int x, int y, String map){
position.set(x, y);
this.map = map;