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

xp modification

This commit is contained in:
Fastium
2022-06-13 23:11:17 +02:00
parent b4a899bdcd
commit 744b160542
5 changed files with 27 additions and 20 deletions

View File

@@ -12,7 +12,7 @@ import Screen.ScreenMap;
public class Player extends Character{
private int xp;
private int xp = 0;
public Enemy lastEnemy = null;
public boolean onEnemy = false;
@@ -21,7 +21,7 @@ public class Player extends Character{
}
public void addXp(int xp){
this.xp += xp;
}
public void manageEntity(ScreenMap sm, Controller c) {