Class PayloadAmmoTurret

All Implemented Interfaces:
Comparable<Content>, Senseable

public class PayloadAmmoTurret extends Turret
Do not use this class!
  • Field Details

  • Constructor Details

    • PayloadAmmoTurret

      public PayloadAmmoTurret(String name)
  • Method Details

    • ammo

      public void ammo(Object... objects)
      Initializes accepted ammo map. Format: [block1, bullet1, block2, bullet2...]
    • limitRange

      public void limitRange()
      Makes copies of all bullets and limits their range.
    • limitRange

      public void limitRange(float margin)
      Makes copies of all bullets and limits their range.
    • setStats

      public void setStats()
      Description copied from class: UnlockableContent
      Initializes stats on demand. Should only be called once. Only called before something is displayed.
      Overrides:
      setStats in class Turret
    • init

      public void init()
      Description copied from class: Block
      Called after all blocks are created.
      Overrides:
      init in class Turret