@Override public void effectuer( DeDaoImpl deDao, PartieDaoImpl partieDao, JoueurPartieDaoImpl joueurPartieDao, Partie partie, Joueur joueur, Joueur cible, boolean clockwize) throws JoueurNonTrouveException { Random random = new Random(); List<Carte> listeCartes = joueurPartieDao.getCartes(cible, partie); Carte carte = listeCartes.get(random.nextInt(listeCartes.size() - 1)); joueurPartieDao.transfererCarte(cible, joueur, partie, carte); }