Interface LambdaSpellDesc.AbstractLambdaSpell

Enclosing class:
LambdaSpellDesc
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public static interface LambdaSpellDesc.AbstractLambdaSpell
  • Method Summary

    Modifier and Type Method Description
    void cast​(GameContext lambdaContext, Player lambdaPlayer, SpellDesc lambdaDesc, Entity lambdaSource, java.util.List<Entity> lambdaTargets, org.slf4j.Logger logger)
    Casts the spell.
  • Method Details

    • cast

      @Suspendable void cast​(GameContext lambdaContext, Player lambdaPlayer, SpellDesc lambdaDesc, Entity lambdaSource, java.util.List<Entity> lambdaTargets, org.slf4j.Logger logger)
      Casts the spell.
      Parameters:
      lambdaContext -
      lambdaPlayer -
      lambdaDesc -
      lambdaSource -
      lambdaTargets -
      logger -