congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CrewsVehicleSourceTriggeredAbility.getSourceId
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using mage.abilities.effects.common.CrewsVehicleSourceTriggeredAbility.getSourceId (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.commonCrewsVehicleSourceTriggeredAbilitygetSourceId

Popular methods of CrewsVehicleSourceTriggeredAbility

  • <init>
  • getEffects

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • requestLocationUpdates (LocationManager)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • BoxLayout (javax.swing)
  • CodeWhisperer 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