voir sa carte perso quand on emet une pression dessus

This commit is contained in:
Bastien NOEL
2020-05-12 18:00:58 +02:00
parent 697a35679c
commit d8df8f3833
6 changed files with 102 additions and 42 deletions

View File

@ -41,5 +41,11 @@ public class Charles extends CartePersonnage{
}
public void utiliser() {
/*
System.out.println("vie avant : " + this.getJoueur().getCartePersonnage().getPv());
this.getJoueur().setStat("HP", this.getJoueur().getStat("HP") - 2);
System.out.println("vie apres : " + this.getJoueur().getCartePersonnage().getPv());
*/
}
}

View File

@ -26,11 +26,6 @@ public class Emi extends CartePersonnage{
this.setCondition(new WinConditionHunter());
}
public void deplacer() {
@ -38,5 +33,7 @@ public class Emi extends CartePersonnage{
public void utiliser() {
this.getJoueur().deplacer(this.getJoueur().getCarteLieu().getVoisin());
}
}