package de.gurkenlabs.litiengine.abilities.effects;

import java.awt.Shape;
import java.util.List;
import java.util.function.Consumer;

import de.gurkenlabs.litiengine.IUpdateable;
import de.gurkenlabs.litiengine.entities.ICombatEntity;

public interface IEffect extends IUpdateable {
  /**
   * Applies the effect in the specified impact area on the specified
   * environment.
   * 
   * @param loop
   * @param environment
   * @param impactArea
   */
  public void apply(Shape impactArea);

  public void cease(final ICombatEntity affectedEntity);

  public List<EffectApplication> getActiveAppliances();

  public int getDelay();

  public int getDuration();

  public EffectTarget[] getEffectTargets();

  public List<IEffect> getFollowUpEffects();

  public boolean isActive(ICombatEntity entity);

  public void onEffectApplied(Consumer<EffectArgument> consumer);

  public void onEffectCeased(Consumer<EffectArgument> consumer);
}

@@ -396,51 +396,8 @@
 * %0D%0A
-   * @param loop%0D%0A   * @param environment%0D%0A
    *

Fix javadoc.