Enum Constant and Description |
---|
COOPERATIVE |
FAVORABLE |
FRIENDLY |
HOSTILE |
INHOSPITABLE |
NEUTRAL |
SUSPICIOUS |
VENGEFUL |
WELCOMING |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
static RepLevel |
getLevelFor(float r) |
float |
getMax()
Inclusive.
|
float |
getMin()
Not inclusive.
|
RepLevel |
getOneBetter() |
RepLevel |
getOneWorse() |
static int |
getRepInt(float f) |
static float |
getT1() |
static float |
getT2() |
static float |
getT3() |
static float |
getT4() |
boolean |
isAtBest(RepLevel level) |
boolean |
isAtWorst(RepLevel level) |
boolean |
isNegative() |
boolean |
isNeutral() |
boolean |
isPositive() |
static RepLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepLevel VENGEFUL
public static final RepLevel HOSTILE
public static final RepLevel INHOSPITABLE
public static final RepLevel SUSPICIOUS
public static final RepLevel NEUTRAL
public static final RepLevel FAVORABLE
public static final RepLevel WELCOMING
public static final RepLevel FRIENDLY
public static final RepLevel COOPERATIVE
public static RepLevel[] values()
for (RepLevel c : RepLevel.values()) System.out.println(c);
public static RepLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDisplayName()
public RepLevel getOneBetter()
public RepLevel getOneWorse()
public float getMin()
public float getMax()
public boolean isAtWorst(RepLevel level)
public boolean isAtBest(RepLevel level)
public boolean isNeutral()
public boolean isPositive()
public boolean isNegative()
public static RepLevel getLevelFor(float r)
public static int getRepInt(float f)
public static float getT1()
public static float getT2()
public static float getT3()
public static float getT4()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.