Package mage.cards

Examples of mage.cards.MagePermanent.update()


    permanents.put(permanent.getId(), perm);
   
    BattlefieldPanel.this.add(perm, 10);
    if (!Plugins.getInstance().isCardPluginLoaded()) {
      moveToFront(perm);
      perm.update(permanent);
    } else {
      Thread t = new Thread(new Runnable() {
        @Override
        public void run() {
              Plugins.getInstance().onAddCard(perm);
View Full Code Here


                            changed = true;
                        }
                    }

                }
                oldMagePermanent.update(permanent);
            }
        }

        addedArtifact = addedCreature = addedPermanent = false;
View Full Code Here

        BattlefieldPanel.this.jPanel.add(perm, 10);
        //this.jPanel.add(perm);
        if (!Plugins.getInstance().isCardPluginLoaded()) {
            moveToFront(perm);
            perm.update(permanent);
        } else {
            moveToFront(jPanel);
            Plugins.getInstance().onAddCard(perm, 1);
            /*Thread t = new Thread(new Runnable() {
                @Override
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.