Class ThermalGenerator

All Implemented Interfaces:
Comparable<Content>, Senseable

public class ThermalGenerator extends PowerGenerator
  • Field Details

    • generateEffect

      public Effect generateEffect
    • effectChance

      public float effectChance
    • minEfficiency

      public float minEfficiency
    • displayEfficiencyScale

      public float displayEfficiencyScale
    • displayEfficiency

      public boolean displayEfficiency
    • outputLiquid

      @Nullable public LiquidStack outputLiquid
    • attribute

      public Attribute attribute
  • Constructor Details

    • ThermalGenerator

      public ThermalGenerator(String name)
  • Method Details

    • init

      public void init()
      Description copied from class: Block
      Called after all blocks are created.
      Overrides:
      init 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 PowerGenerator
    • 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.