Class NuclearReactor

All Implemented Interfaces:
Comparable<Content>, Senseable

public class NuclearReactor extends PowerGenerator
  • Field Details

    • timerFuel

      public final int timerFuel
    • lightColor

      public Color lightColor
    • coolColor

      public Color coolColor
    • hotColor

      public Color hotColor
    • itemDuration

      public float itemDuration
      ticks to consume 1 fuel
    • heating

      public float heating
      heating per frame * fullness
    • smokeThreshold

      public float smokeThreshold
      threshold at which block starts smoking
    • flashThreshold

      public float flashThreshold
      heat threshold at which lights start flashing
    • coolantPower

      public float coolantPower
      heat removed per unit of coolant
    • fuelItem

      public Item fuelItem
    • topRegion

      public TextureRegion topRegion
    • lightsRegion

      public TextureRegion lightsRegion
  • Constructor Details

    • NuclearReactor

      public NuclearReactor(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 PowerGenerator
    • setBars

      public void setBars()
      Overrides:
      setBars in class PowerGenerator