Class PayloadConveyor

All Implemented Interfaces:
Comparable<Content>, Senseable
Direct Known Subclasses:
PayloadRouter

public class PayloadConveyor extends Block
  • Field Details

    • moveTime

      public float moveTime
    • moveForce

      public float moveForce
    • topRegion

      public TextureRegion topRegion
    • edgeRegion

      public TextureRegion edgeRegion
    • interp

      public Interp interp
    • payloadLimit

      public float payloadLimit
  • Constructor Details

    • PayloadConveyor

      public PayloadConveyor(String name)
  • Method Details

    • icons

      protected 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
    • 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
    • init

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