Tabnine Logo
DestroyAllNamedPermanentsEffect.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
mage.abilities.effects.common.DestroyAllNamedPermanentsEffect
constructor

Best Java code snippets using mage.abilities.effects.common.DestroyAllNamedPermanentsEffect.<init> (Showing top 3 results out of 315)

origin: magefree/mage

@Override
public DestroyAllNamedPermanentsEffect copy() {
  return new DestroyAllNamedPermanentsEffect(this);
}
origin: magefree/mage

public MaelstromPulse(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{1}{B}{G}");
  
  // Destroy target nonland permanent and all other permanents with the same name as that permanent.
  this.getSpellAbility().addTarget(new TargetNonlandPermanent());
  this.getSpellAbility().addEffect(new DestroyAllNamedPermanentsEffect());
}
origin: magefree/mage

public WakeOfDestruction(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}{R}{R}");
  // Destroy target land and all other lands with the same name as that land.
  this.getSpellAbility().addTarget(new TargetLandPermanent());
  this.getSpellAbility().addEffect(new DestroyAllNamedPermanentsEffect());
}
mage.abilities.effects.commonDestroyAllNamedPermanentsEffect<init>

Popular methods of DestroyAllNamedPermanentsEffect

  • getTargetPointer

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now