Examples of overrideId()


Examples of mage.view.CardView.overrideId()

      if (card instanceof StackAbilityView) {
        CardView tmp = ((StackAbilityView)card).getSourceCard();
        tmp.overrideRules(card.getRules());
        tmp.setIsAbility(true);
        tmp.overrideTargets(card.getTargets());
        tmp.overrideId(card.getId());
        card = tmp;
      }
      if (!cards.containsKey(card.getId())) {
        addCard(card, bigCard, gameId);
        changed = true;
View Full Code Here

Examples of mage.view.CardView.overrideId()

            if (card instanceof StackAbilityView) {
                CardView tmp = ((StackAbilityView)card).getSourceCard();
                tmp.overrideRules(card.getRules());
                tmp.setIsAbility(true);
                tmp.overrideTargets(card.getTargets());
                tmp.overrideId(card.getId());
                card = tmp;
            }

            MageCard cardImg = Plugins.getInstance().getMageCard(card, bigCard, getCardDimension(), gameId, true);
            //cardImg.setBorder(BorderFactory.createLineBorder(Color.red));
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.