Package mage.cards

Examples of mage.cards.Cards.clear()


                // move all permanents to lib at the same time
                for(Permanent permanent: toLibrary) {
                    player.moveCardToLibraryWithInfo(permanent, source.getSourceId(), game, Zone.BATTLEFIELD, true, false);
                }
                // cards to bottom
                cards.clear();
                toLibrary.clear();
                for (Permanent permanent: permanentsToBottom) {
                    if (permanent instanceof PermanentToken) {
                        toLibrary.add(permanent);
                    } else {
View Full Code Here


                    Card card = game.getCard(cardId);
                    if (card != null) {
                        card.moveToExile(exileId, "Ashiok, Nightmare Weaver", source.getSourceId(), game);
                    }
                }
                cards.clear();
                cards.addAll(opponent.getGraveyard());
                for (UUID cardId :cards) {
                    Card card = game.getCard(cardId);
                    if (card != null) {
                        card.moveToExile(exileId, "Ashiok, Nightmare Weaver", source.getSourceId(), game);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.