Class MassDriver

All Implemented Interfaces:
Comparable<Content>, Senseable

public class MassDriver extends Block
  • Field Details

    • range

      public float range
    • rotateSpeed

      public float rotateSpeed
    • translation

      public float translation
    • minDistribute

      public int minDistribute
    • knockback

      public float knockback
    • reload

      public float reload
    • bullet

      public MassDriverBolt bullet
    • bulletSpeed

      public float bulletSpeed
    • bulletLifetime

      public float bulletLifetime
    • shootEffect

      public Effect shootEffect
    • smokeEffect

      public Effect smokeEffect
    • receiveEffect

      public Effect receiveEffect
    • shootSound

      public Sound shootSound
    • shake

      public float shake
    • baseRegion

      public TextureRegion baseRegion
  • Constructor Details

    • MassDriver

      public MassDriver(String name)
  • Method Details

    • 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 Block
    • icons

      public TextureRegion[] icons()
      Overrides:
      icons in class Block
    • drawPlace

      public void drawPlace(int x, int y, int rotation, boolean valid)
      Description copied from class: Block
      Drawn when you are placing a block.
      Overrides:
      drawPlace in class Block