Class BeamDrill

All Implemented Interfaces:
Comparable<Content>, Senseable

public class BeamDrill extends Block
  • Field Details

    • rand

      protected Rand rand
    • laser

      public TextureRegion laser
    • laserEnd

      public TextureRegion laserEnd
    • laserCenter

      public TextureRegion laserCenter
    • laserBoost

      public TextureRegion laserBoost
    • laserEndBoost

      public TextureRegion laserEndBoost
    • laserCenterBoost

      public TextureRegion laserCenterBoost
    • topRegion

      public TextureRegion topRegion
    • glowRegion

      public TextureRegion glowRegion
    • drillTime

      public float drillTime
    • range

      public int range
    • tier

      public int tier
    • laserWidth

      public float laserWidth
    • optionalBoostIntensity

      public float optionalBoostIntensity
      How many times faster the drill will progress when boosted by an optional consumer.
    • drillMultipliers

      public ObjectFloatMap<Item> drillMultipliers
      Multipliers of drill speed for each item. Defaults to 1.
    • sparkColor

      public Color sparkColor
    • glowColor

      public Color glowColor
    • glowIntensity

      public float glowIntensity
    • pulseIntensity

      public float pulseIntensity
    • glowScl

      public float glowScl
    • sparks

      public int sparks
    • sparkRange

      public float sparkRange
    • sparkLife

      public float sparkLife
    • sparkRecurrence

      public float sparkRecurrence
    • sparkSpread

      public float sparkSpread
    • sparkSize

      public float sparkSize
    • boostHeatColor

      public Color boostHeatColor
    • heatColor

      public Color heatColor
    • heatPulse

      public float heatPulse
    • heatPulseScl

      public float heatPulseScl
  • Constructor Details

    • BeamDrill

      public BeamDrill(String name)
  • Method Details

    • init

      public void init()
      Description copied from class: Block
      Called after all blocks are created.
      Overrides:
      init in class Block
    • setBars

      public void setBars()
      Overrides:
      setBars 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
    • 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
    • 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.
    • getDrillTime

      public float getDrillTime(Item item)