Examples of revealCards()


Examples of mage.players.Player.revealCards()

        Player controller = game.getPlayer(source.getControllerId());
        if (controller != null) {
            for(UUID playerId: controller.getInRange()) {
                Player player = game.getPlayer(playerId);
                if (player != null && player.getLibrary().size() > 0) {
                    player.revealCards(player.getName(), new CardsImpl(player.getLibrary().getFromTop(game)), game);
                }
            }
            if (controller.chooseUse(outcome, "Put revealed cards into graveyard?", game)) {
                for(UUID playerId: controller.getInRange()) {
                    Player player = game.getPlayer(playerId);
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.