Class WeatherEntity

All Implemented Interfaces:
Killer, Cloneable, Iterable<String>, Serializable

public class WeatherEntity extends Entity
Entity that manages weather properties that are better handled as events than as zone attribute changes.
  • Constructor Details

    • WeatherEntity

      public WeatherEntity()
      Create a weather entity.
  • Method Details

    • generateRPClass

      public static void generateRPClass()
    • setThunder

      public void setThunder(boolean thunder)
      Set the thunder state for the zone. An active thunder state creates lightnings at random intervals.
      Parameters:
      thunder - true if the thundering is active, otherwise false