Tabnine Logo
CrewsVehicleSourceTriggeredAbility.getEffects
Code IndexAdd Tabnine to your IDE (free)

How to use
getEffects
method
in
mage.abilities.effects.common.CrewsVehicleSourceTriggeredAbility

Best Java code snippets using mage.abilities.effects.common.CrewsVehicleSourceTriggeredAbility.getEffects (Showing top 1 results out of 315)

origin: magefree/mage

@Override
public boolean checkTrigger(GameEvent event, Game game) {
  if (event.getTargetId().equals(getSourceId())) {
    for (Effect effect : getEffects()) {
      // set the vehicle id as target
      effect.setTargetPointer(new FixedTarget(event.getSourceId()));
    }
    return true;
  }
  return false;
}
mage.abilities.effects.commonCrewsVehicleSourceTriggeredAbilitygetEffects

Popular methods of CrewsVehicleSourceTriggeredAbility

  • <init>
  • getSourceId

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Best IntelliJ plugins
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