Class ShootMulti

java.lang.Object
mindustry.entities.pattern.ShootPattern
mindustry.entities.pattern.ShootMulti
All Implemented Interfaces:
Cloneable

public class ShootMulti extends ShootPattern
  • Field Details

  • Constructor Details

  • Method Details

    • flip

      public void flip()
      Description copied from class: ShootPattern
      Subclasses should override this to flip its sides.
      Overrides:
      flip in class ShootPattern
    • shoot

      public void shoot(int totalShots, ShootPattern.BulletHandler handler, @Nullable Runnable barrelIncrementer)
      Description copied from class: ShootPattern
      Called on a single "trigger pull". This function should call the handler with any bullets that result.
      Overrides:
      shoot in class ShootPattern