public function update(Personnage $perso)
 {
     $q = $this->db->prepare('UPDATE personnages_v2 SET degats = :degats, timeEndormi = :timeEndormi, atout = :atout WHERE id = :id');
     $q->bindValue(':degats', $perso->degats(), PDO::PARAM_INT);
     $q->bindValue(':timeEndormi', $perso->timeEndormi(), PDO::PARAM_INT);
     $q->bindValue(':atout', $perso->atout(), PDO::PARAM_INT);
     $q->bindValue(':id', $perso->id(), PDO::PARAM_INT);
     $q->execute();
 }