public void putOnBottom(Card card, Game game) { if (card.isOwnedBy(playerId)) { card.setZone(Zone.LIBRARY, game); library.remove(card.getId()); library.add(card.getId()); } else { game.getPlayer(card.getOwnerId()).getLibrary().putOnBottom(card, game); } }
} else { game.informPlayers(sourceObject.getLogName() + ": " + controller.getLogName() + " canceled casting the card."); controller.getLibrary().putOnBottom(card, game); controller.getLibrary().putOnBottom(card, game); controller.getLibrary().putOnBottom(card, game);
player.getLibrary().putOnBottom(card, game); cards.remove(card);
for (Card card : chooseOrder( "order to put on bottom of library (last chosen will be bottommost)", cards, owner, game)) { game.getPlayer(card.getOwnerId()).getLibrary().putOnBottom(card, game);