Interface ShootPattern.BulletHandler

Enclosing class:
ShootPattern

public static interface ShootPattern.BulletHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    shoot(float x, float y, float rotation, float delay)
     
    void
    shoot(float x, float y, float rotation, float delay, Mover move)
     
  • Method Details

    • shoot

      default void shoot(float x, float y, float rotation, float delay)
      Parameters:
      x - x offset of bullet, should be transformed by weapon rotation
      y - y offset of bullet, should be transformed by weapon rotation
      rotation - rotation offset relative to weapon
      delay - bullet delay in ticks
    • shoot

      void shoot(float x, float y, float rotation, float delay, Mover move)