Interface RangedAttackGoal.ProjectileGenerator
- Enclosing class:
RangedAttackGoal
public static interface RangedAttackGoal.ProjectileGenerator
The function used to generate a projectile.
-
Method Summary
Modifier and TypeMethodDescriptionvoidshootProjectile(EntityCreature shooter, Pos target, double power, double spread) Shoots a projectile.
-
Method Details
-
shootProjectile
Shoots a projectile.- Parameters:
shooter- the shooter.target- the target position.power- the shot power.spread- the shot spread.
-