Examples of chooseUse()


Examples of mage.players.Player.chooseUse()

            Cards cards = new CardsImpl();
            cards.add(card);
            player.lookAtCards("Explorer's Scope", cards, game);
            if (card.getCardType().contains(CardType.LAND)) {
                String message = "Put " + card.getName() + " onto the battlefield tapped?";
                if (player.chooseUse(Outcome.PutLandInPlay, message, game)) {
                    if (card.putOntoBattlefield(game, Zone.LIBRARY, source.getSourceId(), source.getControllerId())) {
                        Permanent permanent = game.getPermanent(card.getId());
                        if (permanent != null) {
                            permanent.setTapped(true);
                        }
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.