Interface RangedAttackGoal.ProjectileGenerator

Enclosing class:
RangedAttackGoal

public static interface RangedAttackGoal.ProjectileGenerator
The function used to generate a projectile.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    shootProjectile(EntityCreature shooter, Pos target, double power, double spread)
    Shoots a projectile.
  • Method Details

    • shootProjectile

      void shootProjectile(EntityCreature shooter, Pos target, double power, double spread)
      Shoots a projectile.
      Parameters:
      shooter - the shooter.
      target - the target position.
      power - the shot power.
      spread - the shot spread.