Example #1
0
 @Override
 protected void attackPlayer(Player playerToAttack, Turn currentTurn, Supply supply) {
   if (playerToAttack.getHand().contains(Copper.class)) {
     CardList cardsToDiscard = new CardList();
     cardsToDiscard.add(playerToAttack.getHand().getCardByClass(Copper.class));
     playerToAttack.discardCardsFromHand(cardsToDiscard, currentTurn, supply);
   }
 }