Package mage.game.permanent

Examples of mage.game.permanent.Permanent.turnFaceUp()


        Player controller = game.getPlayer(source.getControllerId());
        Card card = game.getCard(source.getSourceId());
        if (controller != null && card !=null) {
            Permanent sourcePermanent = game.getPermanent(source.getSourceId());
            if (sourcePermanent != null) {
                if (sourcePermanent.turnFaceUp(game, source.getControllerId())) {
                    game.informPlayers(controller.getName() + " pays the costs of " + card.getLogName() + " to turn it face up");

                    return 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.