Package mage.game.stack

Examples of mage.game.stack.StackAbility.newId()


                        stack.put(stackObject.getId(),
                                new StackAbilityView(game, (StackAbility)stackObject, object.getName(), new CardView(new EmblemView(((Emblem)object),sourceCard))));
                        checkPaid(stackObject.getId(), ((StackAbility)stackObject));
                    } else {
                        StackAbility stackAbility = ((StackAbility)object);
                        stackAbility.newId();
                        stack.put(stackObject.getId(), new CardView(((StackAbility)stackObject)));
                        checkPaid(stackObject.getId(), ((StackAbility)stackObject));
                    }
                } else {
                    logger.error("Stack Object for stack ability not found: " + stackObject.getStackAbility().getRule());
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.