Class ItemTurret

All Implemented Interfaces:
Comparable<Content>, Senseable

public class ItemTurret extends Turret
  • Field Details

  • Constructor Details

    • ItemTurret

      public ItemTurret(String name)
  • Method Details

    • ammo

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

      public void limitRange()
      Limits bullet range to this turret's range value.
    • limitRange

      public void limitRange(float margin)
      Limits bullet range to this turret's range value.
    • 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
    • setBars

      public void setBars()
      Overrides:
      setBars in class Turret
    • init

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