Class Weather.WeatherEntry

java.lang.Object
mindustry.type.Weather.WeatherEntry
Enclosing class:
Weather

public static class Weather.WeatherEntry extends Object
  • Field Details

    • weather

      public Weather weather
      The type of weather used.
    • minFrequency

      public float minFrequency
      Minimum and maximum spacing between weather events. Does not include the time of the event itself.
    • maxFrequency

      public float maxFrequency
      Minimum and maximum spacing between weather events. Does not include the time of the event itself.
    • minDuration

      public float minDuration
      Minimum and maximum spacing between weather events. Does not include the time of the event itself.
    • maxDuration

      public float maxDuration
      Minimum and maximum spacing between weather events. Does not include the time of the event itself.
    • cooldown

      public float cooldown
      Cooldown time before the next weather event takes place This is *state*, not configuration.
    • intensity

      public float intensity
      Intensity of the weather produced.
    • always

      public boolean always
      If true, this weather is always active.
  • Constructor Details

    • WeatherEntry

      public WeatherEntry(Weather weather)
      Creates a weather entry with some approximate weather values.
    • WeatherEntry

      public WeatherEntry(Weather weather, float minFrequency, float maxFrequency, float minDuration, float maxDuration)
    • WeatherEntry

      public WeatherEntry()