Enum Class RepLevel

java.lang.Object
java.lang.Enum<RepLevel>
com.fs.starfarer.api.campaign.RepLevel
All Implemented Interfaces:
Serializable, Comparable<RepLevel>, Constable

public enum RepLevel extends Enum<RepLevel>
  • Enum Constant Details

    • VENGEFUL

      public static final RepLevel VENGEFUL
    • HOSTILE

      public static final RepLevel HOSTILE
    • INHOSPITABLE

      public static final RepLevel INHOSPITABLE
    • SUSPICIOUS

      public static final RepLevel SUSPICIOUS
    • NEUTRAL

      public static final RepLevel NEUTRAL
    • FAVORABLE

      public static final RepLevel FAVORABLE
    • WELCOMING

      public static final RepLevel WELCOMING
    • FRIENDLY

      public static final RepLevel FRIENDLY
    • COOPERATIVE

      public static final RepLevel COOPERATIVE
  • Method Details

    • values

      public static RepLevel[] 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 RepLevel 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
    • getDisplayName

      public String getDisplayName()
    • getOneBetter

      public RepLevel getOneBetter()
    • getOneWorse

      public RepLevel getOneWorse()
    • getMin

      public float getMin()
      Not inclusive.
      Returns:
    • getMax

      public float getMax()
      Inclusive.
      Returns:
    • isAtWorst

      public boolean isAtWorst(RepLevel level)
    • isAtBest

      public boolean isAtBest(RepLevel level)
    • isNeutral

      public boolean isNeutral()
    • isPositive

      public boolean isPositive()
    • isNegative

      public boolean isNegative()
    • getLevelFor

      public static RepLevel getLevelFor(float r)
    • getRepInt

      public static int getRepInt(float f)
    • getT1

      public static float getT1()
    • getT2

      public static float getT2()
    • getT3

      public static float getT3()
    • getT4

      public static float getT4()