Enum Class KaiserEngine.Regency

java.lang.Object
java.lang.Enum<KaiserEngine.Regency>
de.aikiit.game.kaiser.KaiserEngine.Regency
All Implemented Interfaces:
Serializable, Comparable<KaiserEngine.Regency>, Constable
Enclosing class:
KaiserEngine

public static enum KaiserEngine.Regency extends Enum<KaiserEngine.Regency>
Final rating based on average starvation and land owned per inhabitant.
  • Enum Constant Details

    • DISASTROUS

      public static final KaiserEngine.Regency DISASTROUS
      Average starvation exceeds 33 percent, or land per person is below seven hectares.
    • TYRANNICAL

      public static final KaiserEngine.Regency TYRANNICAL
      Below the disastrous tier, but starvation exceeds 10 percent or land per person is below nine.
    • MEDIOCRE

      public static final KaiserEngine.Regency MEDIOCRE
      Below the worse tiers, but starvation exceeds three percent or land per person is below ten.
    • EXCELLENT

      public static final KaiserEngine.Regency EXCELLENT
      Average starvation is at most three percent and land per person is at least ten hectares.
  • Method Details

    • values

      public static KaiserEngine.Regency[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static KaiserEngine.Regency valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null