Class CustomTargetingStrategy

java.lang.Object
de.gurkenlabs.litiengine.abilities.targeting.TargetingStrategy
de.gurkenlabs.litiengine.abilities.targeting.CustomTargetingStrategy

public class CustomTargetingStrategy extends TargetingStrategy
  • Constructor Details

  • Method Details

    • findTargetsInternal

      public Collection<ICombatEntity> findTargetsInternal(Shape impactArea, ICombatEntity executor)
      Description copied from class: TargetingStrategy
      Finds target entities in the impact area. This is implemented by the individual strategies.
      Specified by:
      findTargetsInternal in class TargetingStrategy
      Parameters:
      impactArea - The area where the effect is applied.
      executor - The entity executing the action.
      Returns:
      A collection of `ICombatEntity` instances that match the strategy criteria.