joueur
This commit is contained in:
parent
6e985dc7f3
commit
6f757aef92
28
src/main/Joueur.java
Normal file
28
src/main/Joueur.java
Normal file
@ -0,0 +1,28 @@
|
||||
package main;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class Joueur {
|
||||
private Map<String, Integer> stats = new HashMap<>();
|
||||
private GestionnaireEquipements gestionnaireEquipements;
|
||||
|
||||
//shadows, hunters ou neutre
|
||||
public String getEquipe() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public int getHP() {
|
||||
return stats.get("HP");
|
||||
}
|
||||
|
||||
public int getDamage() {
|
||||
return stats.get("DAMAGE");
|
||||
}
|
||||
|
||||
public int getNbEquipments() {
|
||||
return gestionnaireEquipements.getNbEquipments();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user