Class PayloadBlock

All Implemented Interfaces:
Comparable<Content>, Senseable
Direct Known Subclasses:
BlockProducer, PayloadDeconstructor, PayloadLoader, PayloadMassDriver, PayloadSource, PayloadVoid, UnitAssembler, UnitAssemblerModule, UnitBlock

public class PayloadBlock extends Block
  • Field Details

    • payloadSpeed

      public float payloadSpeed
    • payloadRotateSpeed

      public float payloadRotateSpeed
    • regionSuffix

      public String regionSuffix
    • topRegion

      public TextureRegion topRegion
    • outRegion

      public TextureRegion outRegion
    • inRegion

      public TextureRegion inRegion
  • Constructor Details

    • PayloadBlock

      public PayloadBlock(String name)
  • Method Details

    • load

      public void load()
      Description copied from class: Content
      Called after all content is created, only on non-headless versions. Use for loading regions or other image data.
      Overrides:
      load in class Block
    • blends

      public static boolean blends(mindustry.gen.Building build, int direction)
    • pushOutput

      public static void pushOutput(Payload payload, float progress)