27 lines
484 B
Java
27 lines
484 B
Java
|
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();
|
||
|
}
|
||
|
|
||
|
}
|