public function update(Personnage $personnage)
 {
     $request = $this->db->prepare('
         UPDATE 
                 personnage
         SET 
                 degat = :degat,
                 experience = :experience,
                 nom = :nom,
                 nombreAttaque = :nombreAttaque,
                 mouvement = :mouvement,
                 pointDeVie = :pointDeVie,
                 planId = :planId,
                 pointInvestissement = :pointInvestissement,
                 positionX = :positionX,
                 positionY = :positionY,
                 tourDeJeu = :tourDeJeu,
                 prochainTourDeJeu = :prochainTourDeJeu
         WHERE id = :id');
     $request->bindValue(':degat', $personnage->getDegat());
     $request->bindValue(':experience', $personnage->getExperience());
     $request->bindValue(':id', $personnage->getId());
     $request->bindValue(':nom', $personnage->getNom());
     $request->bindValue(':nombreAttaque', $personnage->getNombreAttaque());
     $request->bindValue(':mouvement', $personnage->getMouvement());
     $request->bindValue(':planId', $personnage->getPlanId());
     $request->bindValue(':pointInvestissement', $personnage->getPointInvestissement());
     $request->bindValue(':pointDeVie', $personnage->getPointDeVie());
     $request->bindValue(':positionX', $personnage->getPositionX());
     $request->bindValue(':positionY', $personnage->getPositionY());
     $request->bindValue(':tourDeJeu', $personnage->getTourDeJeu());
     $request->bindValue(':prochainTourDeJeu', $personnage->getProchainTourDeJeu());
     $request->execute();
 }