Class StackConveyor

All Implemented Interfaces:
Comparable<Content>, Senseable, Autotiler

public class StackConveyor extends Block implements Autotiler
  • Field Details

    • stateMove

      protected static final int stateMove
      See Also:
    • stateLoad

      protected static final int stateLoad
      See Also:
    • stateUnload

      protected static final int stateUnload
      See Also:
    • regions

      public TextureRegion[] regions
    • edgeRegion

      public TextureRegion edgeRegion
    • stackRegion

      public TextureRegion stackRegion
    • glowRegion

      public TextureRegion glowRegion
      requires power to work properly
    • glowAlpha

      public float glowAlpha
    • glowColor

      public Color glowColor
    • baseEfficiency

      public float baseEfficiency
    • speed

      public float speed
    • outputRouter

      public boolean outputRouter
    • recharge

      public float recharge
      (minimum) amount of loading docks needed to fill a line.
    • loadEffect

      public Effect loadEffect
    • unloadEffect

      public Effect unloadEffect
  • Constructor Details

    • StackConveyor

      public StackConveyor(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
    • blends

      public boolean blends(Tile tile, int rotation, int otherx, int othery, int otherrot, Block otherblock)
      Specified by:
      blends in interface Autotiler
    • drawPlanRegion

      public void drawPlanRegion(BuildPlan plan, Eachable<BuildPlan> list)
      Overrides:
      drawPlanRegion in class Block
    • rotatedOutput

      public boolean rotatedOutput(int x, int y)
      Overrides:
      rotatedOutput in class Block