*/
public Player(final GameModel gameModel, final GUIModel guiModel) {
final PersoControl persoControl = new PersoControl();
// StatsPerso stats = persoControl.getPerso("hero");
final StatsPerso stats = new StatsPerso();
stats.setName("hero");
stats.setClasse(Classe.WARRIOR);
stats.setCharisma(5);
stats.setConstitution(5);
stats.setDexterity(5);
stats.setHpMaxModifier(5);
stats.setIntelligence(5);
stats.setMpMaxModifier(5);
stats.setStrength(5);
stats.setWisdom(5);
stats.setSkills(new ArrayList<Skill>());
stats.setSpells(new ArrayList<Spell>());
final Map<Objet, Integer> objets = new HashMap<Objet, Integer>();
List<ChangeStatut> changeStat = new ArrayList<ChangeStatut>();
changeStat.add(new ChangeStatut(Type.HEAL, Element.AQUA, 10, Stat.DEXTERITY, Stat.HP));
Objet objet = new Objet("Potion", "Soin", Target.ALLY, changeStat, Utilization.TWICE);
objets.put(objet, 1);
changeStat = new ArrayList<ChangeStatut>();
changeStat.add(new ChangeStatut(Type.HEAL, Element.AQUA, 10, Stat.DEXTERITY, Stat.MP));
objet = new Objet("Potion mana", "Magie", Target.ALLY, changeStat, Utilization.TWICE);
objets.put(objet, 1);
changeStat = new ArrayList<ChangeStatut>();
objet = new Equipment("Epee", "Epee basique en bois", TypeEquipment.WEAPON, Panoply.NONE, 5, 3, 10, 10);
objets.put(objet, 1);
changeStat = new ArrayList<ChangeStatut>();
objet = new Equipment("Hache", "Hache basique en bois", TypeEquipment.WEAPON, Panoply.NONE, 10, 5, 10, 10);
objets.put(objet, 1);
stats.setObjets(objets);
final Fighter hero = new Fighter(stats, GeneralConstant.MONSTER_IMAGE_PATH + "heros.png");
final Map<TypeEquipment, Equipment> equipment = new EnumMap<TypeEquipment, Equipment>(TypeEquipment.class);
equipment.put(TypeEquipment.WEAPON, (Equipment)objet);
hero.getStat().getPermanentStats().setEquipment(equipment);
hero.initEquipment();
final Emotion emotion = new Emotion(GeneralConstant.PERSO_FACE_PATH, "normal", new Point(0,0));
emotion.addEmotion("triste", new Point(1,0));
emotion.addEmotion("joie", new Point(3,0));
emotion.addEmotion("peur", new Point(3,2));
EmotionFactory.addElement("hero", emotion);
equipe.add(hero);
final StatsPerso stats2 = new StatsPerso();
stats2.setName("snes");
stats2.setClasse(Classe.WARRIOR);
stats2.setCharisma(5);
stats2.setConstitution(5);
stats2.setDexterity(5);
stats2.setHpMaxModifier(5);
stats2.setIntelligence(5);
stats2.setMpMaxModifier(5);
stats2.setStrength(5);
stats2.setWisdom(5);
stats2.setSkills(new ArrayList<Skill>());
stats2.setSpells(new ArrayList<Spell>());
stats2.setObjets(objets);
final Fighter hero2 = new Fighter(stats2, GeneralConstant.MONSTER_IMAGE_PATH + "heros.png");
hero2.getStat().getPermanentStats().setEquipment(equipment);
hero2.initEquipment();