Class PayloadMassDriver

All Implemented Interfaces:
Comparable<Content>, Senseable

public class PayloadMassDriver extends PayloadBlock
  • Field Details

    • range

      public float range
    • rotateSpeed

      public float rotateSpeed
    • length

      public float length
    • knockback

      public float knockback
    • reload

      public float reload
    • chargeTime

      public float chargeTime
    • maxPayloadSize

      public float maxPayloadSize
    • grabWidth

      public float grabWidth
    • grabHeight

      public float grabHeight
    • shootEffect

      public Effect shootEffect
    • smokeEffect

      public Effect smokeEffect
    • receiveEffect

      public Effect receiveEffect
    • shootSound

      public Sound shootSound
    • shake

      public float shake
    • transferEffect

      public Effect transferEffect
    • baseRegion

      public TextureRegion baseRegion
    • capRegion

      public TextureRegion capRegion
    • leftRegion

      public TextureRegion leftRegion
    • rightRegion

      public TextureRegion rightRegion
    • capOutlineRegion

      public TextureRegion capOutlineRegion
    • leftOutlineRegion

      public TextureRegion leftOutlineRegion
    • rightOutlineRegion

      public TextureRegion rightOutlineRegion
    • arrow

      public TextureRegion arrow
  • Constructor Details

    • PayloadMassDriver

      public PayloadMassDriver(String name)
  • Method Details

    • init

      public void init()
      Description copied from class: Block
      Called after all blocks are created.
      Overrides:
      init in class Block
    • 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
    • drawPlanRegion

      public void drawPlanRegion(BuildPlan plan, Eachable<BuildPlan> list)
      Overrides:
      drawPlanRegion 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
    • makeIconRegions

      public TextureRegion[] makeIconRegions()
      Overrides:
      makeIconRegions in class Block
      Returns:
      special icons to outline and save with an -outline variant. Vanilla only.