Class WallCrafter

All Implemented Interfaces:
Comparable<Content>, Senseable

public class WallCrafter extends Block
  • Field Details

    • topRegion

      public TextureRegion topRegion
    • rotatorBottomRegion

      public TextureRegion rotatorBottomRegion
    • rotatorRegion

      public TextureRegion rotatorRegion
    • drillTime

      public float drillTime
      Time to produce one item at 100% efficiency.
    • updateEffect

      public Effect updateEffect
      Effect randomly played while drilling.
    • updateEffectChance

      public float updateEffectChance
    • rotateSpeed

      public float rotateSpeed
    • attribute

      public Attribute attribute
      Attribute to check for wall output.
    • output

      public Item output
  • Constructor Details

    • WallCrafter

      public WallCrafter(String name)
  • Method Details

    • setBars

      public void setBars()
      Overrides:
      setBars in class Block
    • 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
    • outputsItems

      public boolean outputsItems()
      Overrides:
      outputsItems in class Block
    • rotatedOutput

      public boolean rotatedOutput(int x, int y)
      Overrides:
      rotatedOutput 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
    • drawPlace

      public void drawPlace(int x, int y, int rotation, boolean valid)
      Description copied from class: Block
      Drawn when you are placing a block.
      Overrides:
      drawPlace in class Block
    • canPlaceOn

      public boolean canPlaceOn(Tile tile, Team team, int rotation)
      Overrides:
      canPlaceOn in class Block
      Returns:
      whether this block can be placed on the specified tile.