Class DuctRouter

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

public class DuctRouter extends Block
  • Field Details

    • speed

      public float speed
    • topRegion

      public TextureRegion topRegion
  • Constructor Details

    • DuctRouter

      public DuctRouter(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
    • drawPlanRegion

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

      public int minimapColor(Tile tile)
      Overrides:
      minimapColor in class Block
      Returns:
      a custom minimap color for this or 0 to use default colors.
    • rotatedOutput

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