Class PayloadSource

All Implemented Interfaces:
Comparable<Content>, Senseable

public class PayloadSource extends PayloadBlock
Generic building that produces other buildings.
  • Constructor Details

    • PayloadSource

      public PayloadSource(String name)
  • Method Details

    • getPlanConfigs

      public void getPlanConfigs(arc.struct.Seq<UnlockableContent> options)
      Description copied from class: Block
      Fills the specified array with the list of configuration options this block has. Only used for plans.
      Overrides:
      getPlanConfigs in class Block
    • icons

      public arc.graphics.g2d.TextureRegion[] icons()
      Overrides:
      icons in class Block
    • drawPlanRegion

      public void drawPlanRegion(BuildPlan plan, arc.util.Eachable<BuildPlan> list)
      Overrides:
      drawPlanRegion in class Block
    • canProduce

      public boolean canProduce(Block b)
    • canProduce

      public boolean canProduce(UnitType t)