2020-04-17 14:53:56 +02:00
|
|
|
package main;
|
|
|
|
import java.util.HashMap;
|
2020-04-17 15:07:05 +02:00
|
|
|
import java.util.List;
|
2020-04-17 14:53:56 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2020-04-17 15:33:19 +02:00
|
|
|
public int setStat(String key, int valeur) {
|
|
|
|
return stats.put(key, valeur);
|
|
|
|
}
|
|
|
|
|
2020-04-17 15:29:13 +02:00
|
|
|
public int getStat(String key) {
|
|
|
|
return stats.get(key);
|
2020-04-17 14:53:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int getNbEquipments() {
|
|
|
|
return gestionnaireEquipements.getNbEquipments();
|
|
|
|
}
|
2020-04-17 15:07:05 +02:00
|
|
|
|
|
|
|
public List<Joueur> getJoueursAdjacents() {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return null;
|
|
|
|
}
|
2020-04-17 14:53:56 +02:00
|
|
|
}
|