Examples of addEffect()


Examples of mage.abilities.mana.WhiteManaAbility.addEffect()

        // {tap}: Add {W} or {U} to your mana pool. Thalakos Lowlands doesn't untap during your next untap step.
        Ability ability = new WhiteManaAbility();
        ability.addEffect(new SkipNextUntapSourceEffect());
        this.addAbility(ability);
        ability = new BlueManaAbility();
        ability.addEffect(new SkipNextUntapSourceEffect());
        this.addAbility(ability);
    }

    public ThalakosLowlands(final ThalakosLowlands card) {
        super(card);
View Full Code Here

Examples of net.alteiar.effectBean.DelayedEffect.addEffect()

        18, 18), Color.red, width), false, RectangleElement.class,
        10000, map.getId());
    BasicEffect t1 = new BasicEffect(new CircleElement(new Point(18, 18),
        Color.red, width), false, RectangleElement.class, map.getId());

    effect.addEffect(t1);

    MapElementFactory.buildMapElement(effect, map);
    MapElementFactory.buildMapElement(t1, map);

    RectangleElement rectangleElement = new RectangleElement(
View Full Code Here

Examples of net.alteiar.effectBean.EffectSuite.addEffect()

    EffectSuite effect = (EffectSuite) trigger.getEffect();
    Set<Integer> set = new HashSet<Integer>();
    set.addAll(selectedEffects);
    ArrayList<Integer> distinctList = new ArrayList<Integer>(set);
    for (Integer indexEffect : distinctList) {
      effect.addEffect(effets.get(indexEffect));
    }
  }

}
View Full Code Here

Examples of net.alteiar.effectBean.EffectSuite.addEffect()

    Set<Integer> set = new HashSet();
    set.addAll(selectedTriggers);
    ArrayList<Integer> distinctList = new ArrayList(set);
    for (Integer indexEffect : distinctList) {
      EffectSuite s = (EffectSuite) triggers.get(indexEffect).getEffect();
      s.addEffect(e);
    }
  }

}
View Full Code Here

Examples of net.alteiar.effectBean.mine.EffectSuite.addEffect()

    EffectSuite effectSuite = addBean(new EffectSuite());

    MyInternalEffect basicEffect1 = addBean(new MyInternalEffect());
    MyInternalEffect basicEffect2 = addBean(new MyInternalEffect());

    effectSuite.addEffect(basicEffect1.getId());
    effectSuite.addEffect(basicEffect2.getId());

    PositionTrigger positionTrigger = new PositionTrigger(
        new CircleElement(new Point(20, 20), Color.red, width),
        effectSuite.getId(), RectangleElement.class, map.getId());
View Full Code Here

Examples of net.alteiar.effectBean.mine.EffectSuite.addEffect()

    MyInternalEffect basicEffect1 = addBean(new MyInternalEffect());
    MyInternalEffect basicEffect2 = addBean(new MyInternalEffect());

    effectSuite.addEffect(basicEffect1.getId());
    effectSuite.addEffect(basicEffect2.getId());

    PositionTrigger positionTrigger = new PositionTrigger(
        new CircleElement(new Point(20, 20), Color.red, width),
        effectSuite.getId(), RectangleElement.class, map.getId());
View Full Code Here

Examples of org.adamtacy.client.ui.NEffectPanel.addEffect()

    private void runCurrentEffect() {
        opacity = getEffectEndOpacity();

        NEffectPanel effectPanel = getEffectPanel();
        effectPanel.addEffect(currentEffect);
        effectPanel.playEffects();
    }

    @Override
    public void setContentWidget(Widget w) {
View Full Code Here

Examples of org.bukkit.inventory.meta.FireworkMeta.addEffect()

      Method d2 = getMethod(fw.getClass(), "getHandle");
      Object o3 = d0.invoke(loc.getWorld(), (Object[]) null);
      Object o4 = d2.invoke(fw, (Object[]) null);
      Method d1 = getMethod(o3.getClass(), "broadcastEntityEffect");
      FireworkMeta data = fw.getFireworkMeta();
      data.addEffect(FireworkEffect
          .builder()
          .with(FireworkEffect.Type.values()[gen
              .nextInt(FireworkEffect.Type.values().length)])
          .flicker(gen.nextBoolean())
          .trail(gen.nextBoolean())
View Full Code Here

Examples of org.jbpm.formapi.client.menu.FBMenuItem.addEffect()

                } else {
                    throw new Exception(i18n.NotOfType(itemClassName, "FBMenuItem"));
                }
                NodeList effects = ((Element) itemNode).getElementsByTagName("effect");
                for (FBFormEffect effect : readItemEffects(effects)) {
                    menuItem.addEffect(effect);
                }
                NodeList allowedEvents = ((Element) itemNode).getElementsByTagName("allowedEvent");
                for (String allowedEventName : readAllowedEvents(allowedEvents)) {
                    menuItem.addAllowedEvent(allowedEventName);
                }
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.