Class Constructor

All Implemented Interfaces:
Comparable<Content>, Senseable

public class Constructor extends BlockProducer
Configurable BlockProducer variant.
  • Field Details

    • filter

      public arc.struct.Seq<Block> filter
      Empty seq for no filter.
    • minBlockSize

      public int minBlockSize
    • maxBlockSize

      public int maxBlockSize
  • Constructor Details

    • Constructor

      public Constructor(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
    • 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
    • canProduce

      public boolean canProduce(Block b)