Class RegenProjector

All Implemented Interfaces:
Comparable<Content>, Senseable

public class RegenProjector extends Block
  • Field Details

    • range

      public int range
    • healPercent

      public float healPercent
    • optionalMultiplier

      public float optionalMultiplier
    • optionalUseTime

      public float optionalUseTime
    • drawer

      public DrawBlock drawer
    • effectChance

      public float effectChance
    • baseColor

      public Color baseColor
    • effect

      public Effect effect
  • Constructor Details

    • RegenProjector

      public RegenProjector(String name)
  • Method Details

    • 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
    • drawPlanRegion

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

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

      public TextureRegion[] icons()
      Overrides:
      icons in class Block
    • load

      public void load()
      Description copied from class: Content
      Called after all content is created, only on non-headless versions. Use for loading regions or other image data.
      Overrides:
      load 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